From ad31467732a443d423c32b2e03241d400130a618 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Dec 2005 07:55:07 +0000 Subject: [PATCH] Strip decription to 40 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2369 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiTemplate.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{ -- 2.30.2