diff --git a/dblayeroo.php b/dblayeroo.php index b254c4b..13a87e6 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2546,7 +2546,8 @@ class dblayeroo foreach ($row as $colNb=>$val) { // Harmonize the fetchAll result between all the databases drivers - if (strpos ($columns[$colNb], "(")) + $pos = strpos ($columns[$colNb], "("); + if ($pos) { // Function. The function that return an int must be added in this // list, to cast correctely the value