From: Reini U. <ru...@us...> - 2007-01-28 20:32:08
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9793/plugin Modified Files: RecentChanges.php Log Message: silence empty warning Index: RecentChanges.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RecentChanges.php,v retrieving revision 1.111 retrieving revision 1.112 diff -u -2 -b -p -d -r1.111 -r1.112 --- RecentChanges.php 25 Jan 2007 21:48:52 -0000 1.111 +++ RecentChanges.php 28 Jan 2007 20:32:07 -0000 1.112 @@ -203,8 +203,8 @@ extends _RecentChanges_Formatter if (isset($caption) and $caption == _("Recent Comments")) $edits = _("comments"); - if ($only_new) { + if (!empty($only_new)) { $edits = _("created new pages"); } - if ($author) { + if (!empty($author)) { global $request; if ($author == '[]') @@ -1000,4 +1000,7 @@ class DayButtonBar extends HtmlElement { // $Log$ +// Revision 1.112 2007/01/28 20:32:07 rurban +// silence empty warning +// // Revision 1.111 2007/01/25 21:48:52 rurban // new argument author=[] |