From 159ebf97f0a6b20bc8a2da9a292279b6fa1cfb30 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 30 Apr 2006 08:28:11 +0000 Subject: [PATCH] r790: Warnings-- --- docs/changes.txt | 1 + showreport.php | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index f8be88d..a40c57a 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -3,6 +3,7 @@ - If the first SQL query fails (datastore fetch), show a link to the installer (http://bugs.iris-studios.com/showreport.php?bugid=20) - Removed potential divide by 0 warnings in showreport.php under PHP5 - No longer highlight the and <input> tags when viewing a bug report (http://bugs.iris-studios.com/showreport.php?bugid=21) +- Removed potential implode() warnings in showreport.php under PHP5 1.0.2 ================== diff --git a/showreport.php b/showreport.php index 7884c9d..7253038 100644 --- a/showreport.php +++ b/showreport.php @@ -187,6 +187,7 @@ else $duplicateof = $db->query_first("SELECT bugid, summary FROM " . TABLE_PREFIX . "bug WHERE bugid = $bug[duplicateof]"); + $dupelist = array(); $duplicates = $db->query("SELECT bugid, summary FROM " . TABLE_PREFIX . "bug WHERE duplicateof = $bug[bugid]"); while ($duplicate = $db->fetch_array($duplicates)) { -- 2.43.5