Commit 9328994e authored by Franco Fichtner's avatar Franco Fichtner

sync: fix a crash report

parent de2b543d
...@@ -43,10 +43,11 @@ require_once("util.inc"); ...@@ -43,10 +43,11 @@ require_once("util.inc");
* fetch carp vips from config with modified advskew for the backup host to use * fetch carp vips from config with modified advskew for the backup host to use
* @return array * @return array
*/ */
function get_vip_config_section() { function get_vip_config_section()
{
global $config; global $config;
if (!is_array($config['virtualip']['vip'])) { if (!isset($config['virtualip']['vip'])) {
return; return;
} }
$temp = array(); $temp = array();
......
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