mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
typos
This commit is contained in:
@@ -653,7 +653,7 @@ class dibi
|
||||
if ($expr === TRUE) {
|
||||
self::$substs = array();
|
||||
} else {
|
||||
unset(self::$substs[':'.$expr.':']);
|
||||
unset(self::$substs[$expr]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -55,8 +55,8 @@ define('SUBST_ACCOUNT', 'eshop_');
|
||||
define('SUBST_ACTIVE', 7);
|
||||
|
||||
dibi::test("
|
||||
UPDATE [:account:user]
|
||||
SET [name]='John Doe', [status]=:active:
|
||||
UPDATE :account:user
|
||||
SET name='John Doe', status=:active:
|
||||
WHERE id=", 7
|
||||
);
|
||||
// -> UPDATE [the_accountuser] SET [name]='John Doe', [status]=7 WHERE id=7
|
||||
// -> UPDATE eshop_user SET name='John Doe', status=7 WHERE id= 7
|
||||
|
Reference in New Issue
Block a user