Skip to content

Commit

Permalink
fix(rollback): fixing regex query for rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal authored Oct 12, 2019
1 parent 3d89d78 commit 3dbc964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-backup-managebackups.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

include 'library/opendb.php';

$rollBackQuery = preg_split("\n\n\n", $fileRollback); // when we created the backup file we splitted every table INSERT INTO
$rollBackQuery = preg_split("/\n\n\n/", $fileRollback); // when we created the backup file we splitted every table INSERT INTO
// entry with a tripple newline (\n\n\n) 3 bytes characteres and so to insert
// these again we split into an array each INSERT query because Pear DB
// can't handle multiple INSERTs in a concatenated string
Expand Down

0 comments on commit 3dbc964

Please sign in to comment.