From 07e0043f4b8f0cee03e4ccfea6703e240e46eaab Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 11 May 2006 05:10:38 +0000 Subject: [PATCH] r821: 0 is a fine assignedto number --- includes/api_bug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api_bug.php b/includes/api_bug.php index 7864637..9f07233 100644 --- a/includes/api_bug.php +++ b/includes/api_bug.php @@ -225,7 +225,7 @@ class BugAPI extends API */ function verify_assignedto() { - if (!$this->registry->datastore['assignto'][ $this->values['assignedto'] ]) + if (!$this->registry->datastore['assignto'][ $this->values['assignedto'] ] AND $this->values['assignedto'] != 0) { $this->set('assignedto', $this->registry->options['defaultassign']); } -- 2.22.5