Explorar o código

#2 Not in this case

ahwelp %!s(int64=6) %!d(string=hai) anos
pai
achega
04fa70978c
Modificáronse 1 ficheiros con 1 adicións e 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, ', ');