Clear resources when clearing attendees page as well
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 11 Sep 2009 16:01:38 +0000 (12:01 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:53:53 +0000 (16:53 -0400)
kronolith/attendees.php

index 50f3d8c..edd990f 100644 (file)
@@ -193,9 +193,11 @@ case 'dismiss':
     exit;
 
 case 'clear':
-    // Remove all the attendees.
+    // Remove all the attendees and resources.
     $attendees = array();
+    $resources = array();
     $_SESSION['kronolith']['attendees'] = $attendees;
+    $_SESSION['kronolith']['resources'] = $resources;
     break;
 }