From: Scott P. <wht...@us...> - 2007-09-07 04:28:32
|
Update of /cvsroot/helpmeict/Helpdesk In directory sc8-pr-cvs17:/tmp/cvs-serv3754 Modified Files: issue.php Log Message: Fixed Bug#1788000 Problem Detail changes when you publish to KB. Index: issue.php =================================================================== RCS file: /cvsroot/helpmeict/Helpdesk/issue.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** issue.php 7 Sep 2007 03:04:24 -0000 1.37 --- issue.php 7 Sep 2007 04:28:29 -0000 1.38 *************** *** 8,11 **** --- 8,12 ---- Changelog: + 2007-09-06 whtghst1: Fixed issue with Prooblem Detail changing when publishing to KB. 2007-09-06 whtghst1: Added magic_gpc_quotes detection and fixed all undefined constants errors 2006-01-14 dave: Cleaned up code for v1.0 release *************** *** 640,644 **** if ($acl_reload) { ! $acl = get_issue_acl($issue[0],$_SESSION[_id]); } --- 641,645 ---- if ($acl_reload) { ! $acl = get_issue_acl($issue[0],$_SESSION['_id']); } *************** *** 720,724 **** DetailsList[0] = new Option('<?php echo gettext("Unknown");?>'); DetailsList[0].value = 0; ! if (DetailsList[0].value == <?php echo $issue[0][detail];?> && initialflag == 1) { DetailsList[0].selected = true; initialflag = 0; --- 721,725 ---- DetailsList[0] = new Option('<?php echo gettext("Unknown");?>'); DetailsList[0].value = 0; ! if (DetailsList[0].value == <?php echo $issue[0]['detail'];?> && initialflag == 1) { DetailsList[0].selected = true; initialflag = 0; *************** *** 1039,1043 **** <?php } else {?> <div class="value"> ! <input type="hidden" name="details" id="details" value="0" /> <?php echo preg_replace('/Unknown/',gettext('Unknown'),$issue[0]['detailname']);?> [<a href="find.php?act=action&reset=yes&detail%5B%5D=<?php --- 1040,1044 ---- <?php } else {?> <div class="value"> ! <input type="hidden" name="details" id="details" value="<?php echo $issue[0]['detail'];?>" /> <?php echo preg_replace('/Unknown/',gettext('Unknown'),$issue[0]['detailname']);?> [<a href="find.php?act=action&reset=yes&detail%5B%5D=<?php |