Using a test for template namespace initialisation that's more likely to return true...
[lhc/web/wiklou.git] / maintenance / importLogs.inc
index c499240..c31f1c7 100644 (file)
@@ -125,7 +125,7 @@ class LogImporter {
                                        var_dump( $insert );
                                } else {
                                        # FIXME: avoid duplicates!
-                                       $this->db->insertArray( 'logging', $insert );
+                                       $this->db->insert( 'logging', $insert );
                                }
                                break;
                        }