Commit 87317f8f authored by Franco Fichtner's avatar Franco Fichtner

sync: fix a crash report

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