Skip to content

Commit

Permalink
QA: Make #5583 work on PHP5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Nov 24, 2023
1 parent ed69ff0 commit dc394ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3205,7 +3205,7 @@ private function setDefaultTemplate() {
$default_template = read_config_option('default_template');
log_install_always('', __('Current Default Device Template is \'%s\'', $default_template));

if (empty(read_config_option('default_template', true))) {
if (read_config_option('default_template', true) == '') {
foreach($this->defaultAutomation as $item) {
$host_template_id = db_fetch_cell_prepared('SELECT id
FROM host_template
Expand Down

0 comments on commit dc394ac

Please sign in to comment.