mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Some minor fixes to enable deleting a field that is missing its Fieldtype module. Plus addition of hasPage property to Inputfield modules. And a couple other minor things.
This commit is contained in:
@@ -677,6 +677,8 @@ class Fields extends WireSaveableItems {
|
||||
'countPages' => false,
|
||||
'getPageIDs' => false,
|
||||
);
|
||||
|
||||
if(!$field->type) return 0;
|
||||
|
||||
$options = array_merge($defaults, $options);
|
||||
$database = $this->wire('database');
|
||||
|
Reference in New Issue
Block a user