[-] Installer : fixed errors at the installation with insertion of null values in the database #PSCFV-3544

This commit is contained in:
dMetzger
2012-08-08 09:23:31 +00:00
parent 50d71ab08c
commit 557ee178f3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ abstract class DbCore
*/
public function insert($table, $data, $null_values = false, $use_cache = true, $type = Db::INSERT, $add_prefix = true)
{
if (!$data)
if (!$data && !$null_values)
return true;
if ($add_prefix)