aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/version.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/version.php')
-rw-r--r--engine/lib/version.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index 3cf321a0f..5322e5afa 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -121,7 +121,7 @@ function version_upgrade() {
}
// Now we trigger an event to give the option for plugins to do something
- $upgrade_details = stdClass;
+ $upgrade_details = new stdClass;
$upgrade_details->from = $dbversion;
$upgrade_details->to = get_version();