Skip to content

Commit

Permalink
#311 최근 몇일 설정 값 int 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
xharpenParksuhyeon committed Aug 23, 2021
1 parent 48932b2 commit 4728cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Widgets/QnaList/QnaListWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function render(): string
$boardRequest = $this->getBoardRequest($widgetConfig);
$boardConfig = $this->getBoardConfig($boardMenuItem, Arr::get($widgetConfig, 'take'));

$recentDate = Arr::get($widgetConfig, 'recent_date', 0);
$recentDate = intval(Arr::get($widgetConfig, 'recent_date', 0));

if ($recentDate !== 0) {
$current = Carbon::now();
Expand Down

0 comments on commit 4728cd3

Please sign in to comment.