Whoops, plugin upgrades got broken
authorDan
Sun, 31 May 2009 23:27:04 -0400
changeset 1019 ea039091d154
parent 1018 3e3118285700
child 1020 0867b9d38c38
Whoops, plugin upgrades got broken
includes/plugins.php
--- a/includes/plugins.php	Sun May 31 23:26:40 2009 -0400
+++ b/includes/plugins.php	Sun May 31 23:27:04 2009 -0400
@@ -909,7 +909,7 @@
     }
     
     // list out which versions to do
-    $index_start = @$indices[$installed] + 1;
+    $index_start = @$indices[$installed];
     $index_stop  = @$indices[$dataset['version']];
     
     // Are we trying to go backwards?
@@ -918,6 +918,7 @@
       $return = array(
         'mode' => 'error',
         'error' => $lang->get('acppl_err_upgrade_to_older'),
+        // 'debug' => "going from $installed ($index_start) to {$dataset['version']} ($index_stop)"
       );
       break;
     }