Code

Updated Print Generic
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Sep 2008 12:01:21 +0000 (12:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Sep 2008 12:01:21 +0000 (12:01 +0000)
-Fixed problem with printer create button, despite the ACL settings.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12510 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc

index 5f5a840a46a25451dceb0f4b07c2145ef90e69e0..bc8cc7e18d617d5416fd2a4a75d69385ba4af80f 100644 (file)
@@ -337,7 +337,7 @@ class printgeneric extends plugin
         }
       }else{
         if(preg_match("/^Workstation$/i",$this->BelongsTo)){
-          $display= $this->show_disable_header(_("Add printer extension"),
+          $display= $this->show_enable_header(_("Add printer extension"),
               msgPool::featuresEnabled(_("printer")));
         }elseif(preg_match("/^Terminal$/i",$this->BelongsTo)){
           $display= $this->show_enable_header(_("Add printer extension"),