|
From: Benjamin C. <bc...@us...> - 2002-08-26 18:06:04
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv24234/admin
Modified Files:
resolution.php
Log Message:
Fixes bug #595276 - Specifying no value for a sort order should default to a sort order of 0
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- resolution.php 18 May 2002 03:00:00 -0000 1.29
+++ resolution.php 26 Aug 2002 18:06:01 -0000 1.30
@@ -55,6 +55,7 @@
$error = $STRING['givedesc'];
if ($error) { show_form($resolutionid, $error); return; }
+ if (empty($sort_order)) $sort_order = 0;
if (!$resolutionid) {
$db->query("insert into ".TBL_RESOLUTION.
" (resolution_id, resolution_name, resolution_desc, sort_order)"
|