Skip to content
Permalink
Browse files

(filter.inc) simply check if not empty

  • Loading branch information...
AdSchellevis committed Sep 8, 2016
1 parent 6c72240 commit 0e158f0b0cf842f7e194982ba08cd4965a8c4062
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/etc/inc/filter.inc
@@ -326,7 +326,7 @@ function filter_configure()
*/
if (!file_exists("/var/run/booting")) {
configd_run('filter reload');
if ( isset($config['hasync']['synchronizetoip']) && trim($config['hasync']['synchronizetoip']) != "") {
if ( !empty($config['hasync']['synchronizetoip'])) {
configd_run('filter sync restart');
}
}

0 comments on commit 0e158f0

Please sign in to comment.
You can’t perform that action at this time.