Project

General

Profile

« Previous | Next » 

Revision 1829

Added by Dietmar about 12 years ago

  1. bugfix check existing tables in upgrade-script

View differences:

upgrade-script.php
213 213
    if($get_result->numRows() > 0)
214 214
    {
215 215
        while ($data = $get_result->fetchRow()) {
216
            $tmp = str_replace(TABLE_PREFIX, '', $data[0]);
216
            $tmp = preg_replace('/^'.preg_quote(TABLE_PREFIX, '/').'/s', '', $data[0]);
217 217
            if(in_array($tmp,$aPackage)) {
218 218
                $all_tables[] = $tmp;
219 219
            } else {

Also available in: Unified diff