rabin há 2 anos atrás
pai
commit
9c2e949bbd
1 ficheiros alterados com 4 adições e 0 exclusões
  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;