projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbfe1c
)
Avoid notices when editing old calendars.
author
Jan Schneider
<jan@horde.org>
Tue, 15 Dec 2009 16:49:11 +0000
(17:49 +0100)
committer
Jan Schneider
<jan@horde.org>
Tue, 15 Dec 2009 16:49:11 +0000
(17:49 +0100)
kronolith/calendars/remote_edit.php
patch
|
blob
|
history
diff --git
a/kronolith/calendars/remote_edit.php
b/kronolith/calendars/remote_edit.php
index
90f29bc
..
c2790a6
100644
(file)
--- a/
kronolith/calendars/remote_edit.php
+++ b/
kronolith/calendars/remote_edit.php
@@
-60,8
+60,12
@@
if ($key) {
$vars->set('name', $calendar['name']);
$vars->set('url', $calendar['url']);
-$vars->set('decription', $calendar['desc']);
-$vars->set('color', $calendar['color']);
+if (isset($calendar['desc'])) {
+ $vars->set('decription', $calendar['desc']);
+}
+if (isset($calendar['color'])) {
+ $vars->set('color', $calendar['color']);
+}
$vars->set('username', $username);
$vars->set('password', $password);
$title = $form->getTitle();