From: hickert Date: Thu, 22 Dec 2005 07:55:07 +0000 (+0000) Subject: Strip decription to 40 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ad31467732a443d423c32b2e03241d400130a618;p=gosa.git Strip decription to 40 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2369 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiTemplate.inc b/plugins/admin/fai/class_faiTemplate.inc index f8d4c6b8b..94837291c 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -182,8 +182,8 @@ class faiTemplate extends plugin if($obj['status'] != "delete"){ if((isset($obj['description']))&&(!empty($obj['description']))){ - if(strlen($obj['description']) > 60){ - $obj['description'] = substr($obj['description'],0,60)."..."; + if(strlen($obj['description']) > 40){ + $obj['description'] = substr($obj['description'],0,40)."..."; } $a_return[$obj['cn']]= $obj['cn']." [".$obj['description']."]"; }else{