diff options
author | colings <colings@example.com> | 2011-01-09 11:43:45 -0600 |
---|---|---|
committer | colings <colings@example.com> | 2011-01-09 11:43:45 -0600 |
commit | 02a349f68ac480d5b1a630e14b4f2e3558328673 (patch) | |
tree | 25bf25960b6811d8dbcbed6f6c9d63de7c03bd4e /modules/gallery/helpers/module.php | |
parent | c2a1ea64eda2bf3e22ecaf4df4714c091bc5d7c4 (diff) | |
parent | de5b06ae7442db2c7a8999c0c806997248ddb151 (diff) |
Merge remote branch 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/module.php')
-rw-r--r-- | modules/gallery/helpers/module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php index 7c5578af..6efe6162 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -168,7 +168,7 @@ class module_Core { if (method_exists($installer_class, "install")) { call_user_func_array(array($installer_class, "install"), array()); } else { - module::set_version($module_name, 1); + module::set_version($module_name, module::available()->$module_name->code_version); } // Set the weight of the new module, which controls the order in which the modules are |