mirror of
https://github.com/processwire/processwire.git
synced 2025-08-22 22:34:15 +02:00
Update Fieldtype and FieldtypeMulti to use bind params in a couple spots where they weren't and could support it
This commit is contained in:
@@ -1025,7 +1025,7 @@ class FieldtypeFile extends FieldtypeMulti implements ConfigurableModule {
|
||||
$hasTags = $fileSchema & self::fileSchemaTags;
|
||||
$useTags = $field->get('useTags') || $contextField->get('useTags');
|
||||
|
||||
if(!$hasFilesize || !$hasFiledata || !$hasDate || !$hasTags) {
|
||||
if(!$hasFilesize || !$hasFiledata || !$hasDate) {
|
||||
if(!$database->tableExists($table)) {
|
||||
// new field being created, getting initial schema to create table
|
||||
return $fileSchema;
|
||||
|
Reference in New Issue
Block a user