summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3600ab9)
raw | patch | inline | side by side (parent: 3600ab9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 12:50:09 +0000 (12:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 12:50:09 +0000 (12:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17483 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 88a93bab81ef14e0be177a04dc0b0af345b21ff1..63f04ffc66f8bb58fe8ca0e2a378e396318633d8 100644 (file)
public function update()
{
// Do not do anything if this is not our PID, or there's even no PID available...
- if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) {
-# return;
+ if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->id) {
+ return;
}
// Filter GET with "act" attributes
public function save_object()
{
// Do not do anything if this is not our PID, or there's even no PID available...
- if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) {
-# return;
+ if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->id) {
+ return;
}
// Do not do anything if we're not posted - or have no permission