rabin il y a 2 ans
Parent
commit
9c2e949bbd
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/Database.php

+ 4 - 0
src/Database.php

@@ -3998,6 +3998,10 @@ class Database
                                 $t = explode('-', $h);
                                 $index = $t[0] . '/' . $t[1];
 
+                                if (!$v) {
+                                    $v = 'null';
+                                }
+
                                 $update_col[$i][$index] = $m_col;
                                 $update_set[$i][$index][$num]['set_' . $temp[1]] = $v;
                                 $update_add[$i][$index][$num]['add_' . $temp[1]] = $v;