summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88945b1)
raw | patch | inline | side by side (parent: 88945b1)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Mar 2009 11:39:17 +0000 (11:39 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Mar 2009 11:39:17 +0000 (11:39 +0000) |
it does not work (properly) in this special case as the printGeneric
class takes more arguments as usual. Instead set $this->acl_category
manually to avoid access control problems.
(Fixes PHP errors at various places; Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13551 594d385d-05f5-0310-b6e9-bd551577e9d8
class takes more arguments as usual. Instead set $this->acl_category
manually to avoid access control problems.
(Fixes PHP errors at various places; Trac #2246)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13551 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc b/trunk/gosa-plugins/goto/admin/systems/goto/tabs_printers.inc
index eab3b256ca3d9a9c02b37d2b6fc28ece9d37c70c..059f03c1d2ab4682a5881fb63f487a312f0734d9 100644 (file)
function printtabs($config, $data, $dn,$category)
{
- tabs::tabs($config, $data, $dn,$category);
-
/* Save dn */
$this->dn= $dn;
$this->config= $config;
$baseobject= NULL;
+ /* Set acl_category */
+ $this->acl_category = $category;
+
foreach ($data as $tab){
if(!class_available($tab['CLASS'])) continue;