[Tutos-commits] SF.net SVN: tutos:[170] trunk/php/layout/layout_base.pinc
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
From: <gok...@us...> - 2011-05-14 15:47:40
|
Revision: 170 http://tutos.svn.sourceforge.net/tutos/?rev=170&view=rev Author: gokohnert Date: 2011-05-14 15:47:34 +0000 (Sat, 14 May 2011) Log Message: ----------- fix Modified Paths: -------------- trunk/php/layout/layout_base.pinc Modified: trunk/php/layout/layout_base.pinc =================================================================== --- trunk/php/layout/layout_base.pinc 2011-05-14 15:03:33 UTC (rev 169) +++ trunk/php/layout/layout_base.pinc 2011-05-14 15:47:34 UTC (rev 170) @@ -457,8 +457,8 @@ * check if there is no data to display */ function nodata($obj,$tarr) { - if (($tarr[type] == 'TS_TYPE') && ($obj->$tarr['field']->notime) ) { - return true; + if ($tarr[type] == 'TS_TYPE') { + return $obj->$tarr['field']->notime; } else if ('' == ($obj->$tarr['field'])) { return true; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |