From: hickert Date: Thu, 2 Feb 2006 06:17:35 +0000 (+0000) Subject: Fixed labeledURI / Uri problem X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c0515a09cbb244ec32757b8372f7e55830a67e3;p=gosa.git Fixed labeledURI / Uri problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2617 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 95d2a983c..c5717286f 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -155,6 +155,13 @@ class printgeneric extends plugin } } + /* This attributes is sometimes written with Uri instead of URI + In RFC 2079 it is defined with URI ... + */ + if(isset($this->attrs['labeledUri'])){ + $this->labeledURI = $this->attrs['labeledUri'][0]; + } + /* A printer was only saved if the printer belongs to a workstation. * If there was a new single printer created, it was never saved. * -This allows new printers to be saved.