UpdateDatabase/MysqlLinks.php
authorAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 05:34:55 +0000 (13:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 05:34:55 +0000 (13:34 +0800)
UpdateDatabase/MysqlLinks.php

index 829293f..bce5261 100644 (file)
@@ -398,7 +398,7 @@ class Pman_Core_UpdateDatabase_MysqlLinks {
         }
         // now see which of the procedures match the specification..
         $ret = array();
-        foreach($cache[$tables] as $cname) {
+        foreach($cache[$table] as $cname) {
             $bits = explode("_before_{$type}_", $cname);
             if (count($bits) < 2) {
                 continue;