projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac69a8
)
use Kronolith::getInternalCalendar() here as well
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 9 Sep 2009 19:30:28 +0000
(15:30 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:52 +0000
(16:53 -0400)
kronolith/add.php
patch
|
blob
|
history
diff --git
a/kronolith/add.php
b/kronolith/add.php
index
1baf406
..
5b3f5e9
100644
(file)
--- a/
kronolith/add.php
+++ b/
kronolith/add.php
@@
-16,7
+16,7
@@
if (!Horde_Util::getFormData('cancel')) {
$calendar_id = $targetcalendar;
$user = Horde_Auth::getAuth();
}
- $share =
&$kronolith_shares->getShare
($calendar_id);
+ $share =
Kronolith::getInternalCalendar
($calendar_id);
if (is_a($share, 'PEAR_Error')) {
$notification->push(sprintf(_("There was an error accessing the calendar: %s"), $share->getMessage()), 'horde.error');
} elseif ($user != Horde_Auth::getAuth() &&