From c8fcea4fd9defd63124a852cfd1bbe865f543147 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Nov 2005 19:50:52 +0000 Subject: [PATCH] fix to deal with negativ group-id's --- calendar/inc/class.bocal.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.bocal.inc.php b/calendar/inc/class.bocal.inc.php index c41f1af788..33d3b51a86 100644 --- a/calendar/inc/class.bocal.inc.php +++ b/calendar/inc/class.bocal.inc.php @@ -857,7 +857,7 @@ class bocal } if (is_int($event) && $event == 0) { - $owner = $other > 0 ? $other : $this->user; + $owner = $other ? $other : $this->user; } else {