diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-25 10:07:12 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-25 10:07:12 +0200 |
commit | 923732ca4dca6db218f6252a7133cd72f98fa086 (patch) | |
tree | 37e3af05747a6ebd2e6ba4d1b1574222f4c5c04f | |
parent | 6345fcede7493010ab78239c3e775d16c2f41458 (diff) |
Go back to the upstream version because we choosed to use real booleans.
-rw-r--r-- | modules/gallery/helpers/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php index 7b01058c..c48f0b79 100644 --- a/modules/gallery/helpers/access.php +++ b/modules/gallery/helpers/access.php @@ -426,7 +426,7 @@ class access_Core { $field = "{$perm_name}_{$group->id}"; $cache_table = $perm_name == "view" ? "items" : "access_caches"; $db->query("ALTER TABLE {{$cache_table}} ADD `$field` SMALLINT NOT NULL DEFAULT 0"); - $db->query("ALTER TABLE {access_intents} ADD `$field` SMALLINT DEFAULT NULL"); + $db->query("ALTER TABLE {access_intents} ADD `$field` BOOLEAN DEFAULT NULL"); $db->update("access_intents", array($field => 0), array("item_id" => 1)); ORM::factory("access_intent")->clear_cache(); } |