|
From: Ken T. <ke...@us...> - 2003-07-24 04:57:03
|
Update of /cvsroot/phpbt/phpbt/inc
In directory sc8-pr-cvs1:/tmp/cvs-serv3347/inc
Modified Files:
functions.php
Log Message:
okay, so maybe you don't want to ever really *close* bugs ;)
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- functions.php 24 Jul 2003 04:47:13 -0000 1.43
+++ functions.php 24 Jul 2003 04:57:00 -0000 1.44
@@ -581,7 +581,7 @@
$closed_statuses[] = (int)$row['status_id'];
}
- return '('.$column.' = '.join(' OR '.$column.' = ', $closed_statuses).')';
+ return '('.$column.' = '.(count($closed_statuses ? join(' OR '.$column.' = ', $closed_statuses) : '1')).')';
}
// Check whether or not a status-id means BUG_CLOSED
|