mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fixed a notice during multilang upgrade when prefix was null
This commit is contained in:
parent
36011ea1d2
commit
c29b897b23
@ -45,7 +45,7 @@ $i = 0;
|
||||
$skiptables = array($CFG->prefix.'config');//, $CFG->prefix.'sessions2');
|
||||
|
||||
foreach ($tables as $table) {
|
||||
if (strpos($table, $CFG->prefix) !== 0
|
||||
if (($CFG->prefix && strpos($table, $CFG->prefix) !== 0)
|
||||
or strpos($table, $CFG->prefix.'pma') === 0) { // Not our tables
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user