diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 21:26:28 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 21:26:28 -0700 |
commit | accce788d97d19663a4c39666de03a417b5837b6 (patch) | |
tree | 5cfbfb9beb5caabb841901018307e4dae9893061 | |
parent | f55686c7ef2ca5f3c2c78588e39ac717064c5e09 (diff) |
Fix a bug in set_version() where we were always forcing the value to 1. Oops!
-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 58f9b20d..dea8e22c 100644 --- a/modules/gallery/helpers/module.php +++ b/modules/gallery/helpers/module.php @@ -40,7 +40,7 @@ class module_Core { $module->name = $module_name; $module->active = $module_name == "gallery"; // only gallery is active by default } - $module->version = 1; + $module->version = $version; $module->save(); Kohana::log("debug", "$module_name: version is now $version"); } |