From a7ea71eb032f2157b65ee5704570d846acc97608 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 18 Jan 2006 07:06:24 +0000 Subject: [PATCH] Fixed some checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2511 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_glpiAttachmentPool.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/admin/systems/class_glpiAttachmentPool.inc b/plugins/admin/systems/class_glpiAttachmentPool.inc index b41d4a0b9..4c7984cf3 100644 --- a/plugins/admin/systems/class_glpiAttachmentPool.inc +++ b/plugins/admin/systems/class_glpiAttachmentPool.inc @@ -306,6 +306,7 @@ class glpiAttachmentPool extends plugin { $message = array(); if($this->edit){ + $this->name=trim($this->name); if(empty($this->name)){ $message[] = _("Please specify a valid name for this attachment."); } -- 2.30.2