Patch #2986708: Fix for the bug #2983066

This commit is contained in:
Martynas Mickevičius
2010-04-14 14:09:10 +02:00
committed by Herman van Rink
parent 9607165535
commit 55572a531c
2 changed files with 3 additions and 1 deletions

View File

@@ -193,7 +193,7 @@ unset($reread_info);
*/
require_once './libraries/tbl_links.inc.php';
if (isset($result)) {
if (isset($result) && empty($zero_rows)) {
// set to success by default, because result set could be empty
// (for example, a table rename)
$_type = 'success';