Commit 0e158f0b authored by Ad Schellevis's avatar Ad Schellevis

(filter.inc) simply check if not empty

parent 6c722407
......@@ -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');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment