mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Merge recent changes from devns branch
This commit is contained in:
@@ -480,7 +480,7 @@ class Fields extends WireSaveableItems {
|
||||
|
||||
foreach($schema1 as $key => $value) {
|
||||
if(!in_array($value, $schema2)) {
|
||||
if($this->config->debug) $this->message("changeFieldType loses table field '$value'");
|
||||
if($this->wire('config')->debug) $this->message("changeFieldType loses table field '$value'");
|
||||
unset($schema1[$key]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user