Skip to content

Commit

Permalink
chore: Ensure string is passed to explode
Browse files Browse the repository at this point in the history
  • Loading branch information
hellopablo committed Jul 26, 2023
1 parent 57fdbae commit 586445e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Model/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ public function getAllFlat($iPage = null, $iPerPage = null, array $aData = [], b
*/
$aColumnId = explode('.', $sColumnId);
$sColumnId = end($aColumnId);
$aColumnLabel = explode('.', $sColumnLabel);
$aColumnLabel = explode('.', (string) $sColumnLabel);
$sColumnLabel = end($aColumnLabel);

$oTest = reset($aItems);
Expand Down

0 comments on commit 586445e

Please sign in to comment.