From 2c0515a09cbb244ec32757b8372f7e55830a67e3 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Feb 2006 06:17:35 +0000 Subject: [PATCH] Fixed labeledURI / Uri problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2617 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.30.2