From: Jan Schneider Date: Wed, 12 May 2010 10:03:22 +0000 (+0200) Subject: MFB: Skip vbooks if the base source is not (longer) available. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=60c4f81fda312da901de3918f78b369c03914dcc;p=horde.git MFB: Skip vbooks if the base source is not (longer) available. --- diff --git a/turba/lib/Turba.php b/turba/lib/Turba.php index c8f4cf972..a468495aa 100644 --- a/turba/lib/Turba.php +++ b/turba/lib/Turba.php @@ -457,6 +457,9 @@ class Turba { // Add vbooks now that all available address books are loaded. foreach ($vbooks as $name => $params) { + if (!isset($newSources[$params['source']])) { + continue; + } $newSources[$name] = array( 'title' => $shares[$name]->get('name'), 'type' => 'vbook',