Skip to content

Commit

Permalink
Merge branch 'bareos-16.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Nov 4, 2016
2 parents 540020c + 4547e44 commit 27fe2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/autoload/global.php
Expand Up @@ -117,7 +117,7 @@ function read_directors_ini($directors, $directors_ini)
foreach($directors as $instance) {

if(array_key_exists('enabled', $instance) && isset($instance['enabled']) &&
(strtolower($instance['enabled']) == "yes" || strtolower($instance['enabled']) == "true" || $instance['enabled'] == TRUE)) {
(strtolower($instance['enabled']) === "yes" || strtolower($instance['enabled']) === "true" || $instance['enabled'] == 1)) {

if(array_key_exists('diraddress', $instance) && isset($instance['diraddress'])) {
$arr[key($directors)] = array();
Expand Down

0 comments on commit 27fe2d4

Please sign in to comment.