summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-12-02 08:32:59 -0800
committerBharat Mediratta <bharat@menalto.com>2010-12-02 08:32:59 -0800
commitc3ef8921260db8e39b6d2a7b4708e3d19f35f8b5 (patch)
tree28638f7a1cd2e298587f4b3960caf409f7d2d2fa
parentcdf0f7f765a5bd5e0d5619d345bdc6aba069c555 (diff)
Duh, set the image_block.image_count variable in the installer! This
issue was introduced in cdf0f7f765a5bd5e0d5619d345bdc6aba069c555 which was a follow-on for 3c523bcac6e902973c5891c02842254eaecd33a4 which fixes #1499.
-rw-r--r--modules/image_block/helpers/image_block_installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/image_block/helpers/image_block_installer.php b/modules/image_block/helpers/image_block_installer.php
index e9967314..62c38ba4 100644
--- a/modules/image_block/helpers/image_block_installer.php
+++ b/modules/image_block/helpers/image_block_installer.php
@@ -20,6 +20,7 @@
class image_block_installer {
static function install() {
+ module::set_var("image_block", "image_count", "1");
module::set_version("image_block", $version = 2);
}