Skip to content

Commit cd1852c

Browse files
alikonmbabker
authored andcommitted
[ChangeItem] - the check query should return array instead of object - PHP 7.2 (joomla#18443)
* [ChangeItem] - the check query shuold return array instead of object * add unique
1 parent b79a87a commit cd1852c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Schema/ChangeItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function check()
196196

197197
try
198198
{
199-
$rows = $this->db->loadObject();
199+
$rows = $this->db->loadRowList(0);
200200
}
201201
catch (\RuntimeException $e)
202202
{

0 commit comments

Comments
 (0)