mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
fixed invalid escaping sequences in double quoted strings, used \z instead of $
This commit is contained in:
@@ -69,7 +69,7 @@ class DibiSqliteReflector extends DibiObject implements IDibiReflector
|
||||
$columns = array();
|
||||
while ($row = $res->fetch(TRUE)) {
|
||||
$column = $row['name'];
|
||||
$pattern = "/(\"$column\"|\[$column\]|$column)\s+[^,]+\s+PRIMARY\s+KEY\s+AUTOINCREMENT/Ui";
|
||||
$pattern = "/(\"$column\"|\[$column\]|$column)\\s+[^,]+\\s+PRIMARY\\s+KEY\\s+AUTOINCREMENT/Ui";
|
||||
$type = explode('(', $row['type']);
|
||||
$columns[] = array(
|
||||
'name' => $column,
|
||||
|
Reference in New Issue
Block a user