Fix undefined property enable_autocomplete warning

Add isset() check for enable_autocomplete property to handle
cases where database migration has not been applied yet.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Eduard Wisch 2026-02-20 12:11:57 +01:00
parent 07e0e2365b
commit b0dc03bebe
23 changed files with 2 additions and 1 deletions

View file

@ -595,7 +595,8 @@ if (in_array($action, array('create', 'edit'))) {
print '<td class="center"><span style="color:#888;">-</span></td>'; print '<td class="center"><span style="color:#888;">-</span></td>';
} }
print '<td class="center">'.($field->show_in_hover ? img_picto('', 'tick') : '').'</td>'; print '<td class="center">'.($field->show_in_hover ? img_picto('', 'tick') : '').'</td>';
print '<td class="center">'.($field->enable_autocomplete ? '<i class="fa fa-magic" style="color:#3498db;" title="Autocomplete aktiv"></i>' : '').'</td>'; $enableAutocomplete = isset($field->enable_autocomplete) ? $field->enable_autocomplete : 0;
print '<td class="center">'.($enableAutocomplete ? '<i class="fa fa-magic" style="color:#3498db;" title="Autocomplete aktiv"></i>' : '').'</td>';
print '<td class="center">'.($field->required ? img_picto('', 'tick') : '').'</td>'; print '<td class="center">'.($field->required ? img_picto('', 'tick') : '').'</td>';
print '<td class="center">'.$field->position.'</td>'; print '<td class="center">'.$field->position.'</td>';
print '<td class="center">'; print '<td class="center">';

0
admin/backup.php Normal file → Executable file
View file

0
ajax/field_autocomplete.php Normal file → Executable file
View file

0
ajax/file_preview.php Normal file → Executable file
View file

BIN
bin/module_kundenkarte-3.5.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.6.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.7.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.8.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.1.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.2.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.3.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.4.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.5.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.6.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.7.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.8.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.9.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-3.9.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-4.0.1.zip Executable file

Binary file not shown.

BIN
bin/module_kundenkarte-4.0.zip Executable file

Binary file not shown.

0
class/anlagebackup.class.php Normal file → Executable file
View file

0
sql/update_3.4.1.sql Normal file → Executable file
View file

0
sql/update_3.6.0.sql Normal file → Executable file
View file