diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-08 17:17:58 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-05-08 17:17:58 +0000 |
commit | b327677b4e405ccc71f6292fad2ff08abe2f7c99 (patch) | |
tree | bd14a7f6a9e0cd6447d56759f4050890235962a4 /frontends/php/audit.php | |
parent | 579448298e554487e82ec07ea2f5b2a9cc6adfd0 (diff) | |
download | zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.tar.gz zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.tar.xz zabbix-b327677b4e405ccc71f6292fad2ff08abe2f7c99.zip |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2822 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/audit.php')
-rw-r--r-- | frontends/php/audit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/audit.php b/frontends/php/audit.php index 742087eb..805c6d16 100644 --- a/frontends/php/audit.php +++ b/frontends/php/audit.php @@ -70,7 +70,7 @@ $sql="select max(auditid) as max from audit"; $result=DBselect($sql); $row=DBfetch($result); - $maxauditid=@iif(DBnum_rows($result)>0,$row["max"],0); + $maxauditid=@iif($row,$row["max"],0); if(!isset($_REQUEST["start"])) { |