From: hickert Date: Wed, 18 Jan 2006 07:06:24 +0000 (+0000) Subject: Fixed some checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a7ea71eb032f2157b65ee5704570d846acc97608;p=gosa.git Fixed some checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2511 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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."); }