summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjamaa <jamaa@mzibo.net>2013-06-11 23:06:09 +0200
committerBharat Mediratta <bharat@menalto.com>2013-06-12 19:10:01 -0400
commitad634512756b11569cb649ce4322e9ec2c59eb5f (patch)
tree88197569166f54d941f7da25859e4a04355668a1
parent5d8ac644a5db74c9ca3bf563e80643233b49e28c (diff)
fix upgrade function
allow for sequential upgrades
-rw-r--r--modules/info/helpers/info_installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/info/helpers/info_installer.php b/modules/info/helpers/info_installer.php
index f45f4a27..2d13eec5 100644
--- a/modules/info/helpers/info_installer.php
+++ b/modules/info/helpers/info_installer.php
@@ -37,7 +37,7 @@ class info_installer {
module::set_var("info", "show_captured", 1);
module::set_version("info", $version = 2);
}
- else if ($version == 2) {
+ if ($version == 2) {
module::set_var("info", "show_size", 1);
module::set_version("info", $version = 3);
}