svn: /web/doc-editor/trunk/php/ ExtJsController.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Mon, 21 Dec 2009 00:27:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292388
Log:
try to fix a bug witch appears on the online version
Changed paths:
U web/doc-editor/trunk/php/ExtJsController.php
Modified: web/doc-editor/trunk/php/ExtJsController.php
===================================================================
--- web/doc-editor/trunk/php/ExtJsController.php 2009-12-21 00:19:42 UTC (rev 292387)
+++ web/doc-editor/trunk/php/ExtJsController.php 2009-12-21 00:27:24 UTC (rev 292388)
@@ -1282,7 +1282,7 @@
$return[$j]['id'] = $j;
$return[$j]['libel'] = str_replace("_", "", $lang);
- $return[$j]['total'] = ($summary[0]->nbFiles == NULL ) ? 0 : $summary[0]->nbFiles;
+ $return[$j]['total'] = ( !isset($summary[0]) || $summary[0]->nbFiles == NULL ) ? 0 : $summary[0]->nbFiles;
$j ++;
}