projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2fd481
)
MFB: Skip vbooks if the base source is not (longer) available.
author
Jan Schneider
<jan@horde.org>
Wed, 12 May 2010 10:03:22 +0000
(12:03 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 12 May 2010 10:03:36 +0000
(12:03 +0200)
turba/lib/Turba.php
patch
|
blob
|
history
diff --git
a/turba/lib/Turba.php
b/turba/lib/Turba.php
index
c8f4cf9
..
a468495
100644
(file)
--- 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',