sync
authorAlan Knowles <alan@roojs.com>
Wed, 10 Oct 2018 03:04:24 +0000 (11:04 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Oct 2018 03:04:24 +0000 (11:04 +0800)
Prune.php
UpdateDatabase/VerifyExtensions.php

index 595eefb..2ed9ea3 100644 (file)
--- a/Prune.php
+++ b/Prune.php
@@ -101,7 +101,7 @@ class Pman_Core_Prune extends Pman
                   AND
                   on_table = '{$q->escape($f->on_table)}'
                   AND
-                  id >  {$f->min_id}
+                  id >  {$f->min_id}  -- allow the first one to stay....
                   AND
                   id <= {$f->max_id}
             ");
index c65e999..5d91988 100644 (file)
@@ -49,7 +49,7 @@ class Pman_Core_UpdateDatabase_VerifyExtensions extends Pman
         
         foreach ($extensions as $e){
             
-            if(!empty($e) && extension_loaded($e)) {
+            if(empty($e) || extension_loaded($e)) {
                 continue;
             }