Code

Now that we're in the session, just enable sanity checks
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Aug 2009 12:47:21 +0000 (12:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Aug 2009 12:47:21 +0000 (12:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14077 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index 2609b88b17d70bdfd6155bf9959cc551fc2f6c6b..ed1354a844b57d3d0dee4d5a0e8dcd1896f44fe1 100644 (file)
@@ -303,10 +303,9 @@ echo "department browsing, copypaste handler, snapshot handler, daemon handler<b
     $ui= get_userinfo();
 
     // Do not do anything if this is not our PID
-    # DISABLED because the object is not in the session
-    #if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) {
-    #  return;
-    #}
+    if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) {
+      return;
+    }
 
     if ($this->departmentBrowser){
       # $this->departments= $this->filter->getDepartments();
@@ -726,10 +725,9 @@ echo "department browsing, copypaste handler, snapshot handler, daemon handler<b
   function getAction()
   {
     // Do not do anything if this is not our PID
-    # DISABLED because the object is not in the session
-    #if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) {
-    #  return;
-    #}
+    if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) {
+      return;
+    }
 
     $result= array("targets" => array(), "action" => "");