Explorar el Código

#2 Not in this case

ahwelp hace 6 años
padre
commit
04fa70978c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/BBOrm/Entity.php

+ 1 - 1
src/BBOrm/Entity.php

@@ -96,7 +96,7 @@ abstract class Entity {
             $first_argument .= $column . ', ';
 
             $insert_data[$column] = $obj[$column];
-            $second_argument .= " = :$column, ";
+            $second_argument .= ":$column, ";
         }
 
         $first_argument = rtrim($first_argument, ', ');