From: Reini U. <ru...@us...> - 2006-10-08 12:50:47
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29976 Modified Files: WikiAdminUtils.php Log Message: improve on empty list Index: WikiAdminUtils.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/WikiAdminUtils.php,v retrieving revision 1.20 retrieving revision 1.21 diff -u -2 -b -p -d -r1.20 -r1.21 --- WikiAdminUtils.php 30 Sep 2006 10:08:38 -0000 1.20 +++ WikiAdminUtils.php 8 Oct 2006 12:50:44 -0000 1.21 @@ -267,7 +267,7 @@ extends WikiPlugin } $request->_user = $current_user; - if (!empty($args['verify'])) { + if (!empty($args['verify']) or empty($pagelist->_rows)) { return HTML($pagelist->_generateTable(false)); - } else { + } elseif (!empty($pagelist->_rows)) { $args['verify'] = 1; $args['return_url'] = $request->getURLtoSelf(); |