From 29b25174b876a2da2a8e71b960993a48c4e400fa Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 15 May 2005 21:00:19 +0000 Subject: [PATCH] r152: Only do diff if both changes are not empty in log_action() [includes/functions.php] --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 7f17836..3584370 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -306,7 +306,7 @@ function log_action($bugid, $language, $arguments, $field = '', $original = '', { global $bugsys; - if ($logdiff) + if ($logdiff AND (!empty($original) AND !empty($changed))) { if ($original === $changed) { -- 2.43.5