mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
typos
This commit is contained in:
@@ -653,7 +653,7 @@ class dibi
|
|||||||
if ($expr === TRUE) {
|
if ($expr === TRUE) {
|
||||||
self::$substs = array();
|
self::$substs = array();
|
||||||
} else {
|
} else {
|
||||||
unset(self::$substs[':'.$expr.':']);
|
unset(self::$substs[$expr]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -55,8 +55,8 @@ define('SUBST_ACCOUNT', 'eshop_');
|
|||||||
define('SUBST_ACTIVE', 7);
|
define('SUBST_ACTIVE', 7);
|
||||||
|
|
||||||
dibi::test("
|
dibi::test("
|
||||||
UPDATE [:account:user]
|
UPDATE :account:user
|
||||||
SET [name]='John Doe', [status]=:active:
|
SET name='John Doe', status=:active:
|
||||||
WHERE id=", 7
|
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