Skip to content

Commit 8551019

Browse files
AndNovAtorzero-24
authored andcommitted
Possible misprint (#19688)
I think $ids array stores articles ids, because $articleModel->getItem()->id. Maybe copy-paste from line 159/line 206? Also, this possible misprint can be found in 4.0 branch.
1 parent 6623473 commit 8551019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/sampledata/blog/blog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function onAjaxSampledataApplyStep1()
282282
return $response;
283283
}
284284

285-
// Get ID from category we just added
285+
// Get ID from article we just added
286286
$ids[] = $articleModel->getItem()->id;
287287
}
288288

0 commit comments

Comments
 (0)