summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd3f5ac)
raw | patch | inline | side by side (parent: fd3f5ac)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Jul 2006 08:43:06 +0000 (08:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 3 Jul 2006 08:43:06 +0000 (08:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4015 594d385d-05f5-0310-b6e9-bd551577e9d8
Changelog | patch | blob | history | |
include/functions.inc | patch | blob | history |
diff --git a/Changelog b/Changelog
index 1994463e04fed8ac91389dbb53f804ef05504a15..28bc2370843e3c3329050ef32c232ae6d29c5e49 100644 (file)
--- a/Changelog
+++ b/Changelog
===============
* gosa 2.5.3
+ - Fixed get_printer_list undefined index warnings while editing a user.
- Fixed ogroup non-static method error
- Fixed user membership for gotoPrinter, if membership was edited
via user environemnt, some numeric values were stored too
diff --git a/include/functions.inc b/include/functions.inc
index 3116c391c1b00008c9e78adbc581c047b78dc42f..d8f0cd4ac90ee12d6d961e79a4c4215102597ac9 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
$ar = false;
exec("lpstat -p", $ar);
foreach($ar as $val){
- list($dummy, $printer, $rest)= split(' ', $val, 3);
+ @list($dummy, $printer, $rest)= split(' ', $val, 3);
if (preg_match('/^[^@]+$/', $printer)){
$res[$printer]= "$printer";
}