View Issue Details

IDProjectCategoryView StatusLast Update
0015834MantisTouchGeneralpublic2013-05-17 03:18
Reportersmartmantis Assigned Tovboctor  
PrioritylowSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version1.2.1 
Fixed in Version1.2.2 
Summary0015834: _GET['opt'] notice in issue_edit_page.php
Description

8: Undefined index: opt
File: /home/support/domains/m.support.overmind/public_html/issue_edit_page.php
Line: 13

(just seen in the page source)

patch:
if (isset($_GET['opt']))
$f_opt_id = intval( $_GET['opt'] );

TagsNo tags attached.

Activities

smartmantis

smartmantis

2013-05-10 05:49

reporter   ~0036825

Last edited: 2013-05-10 12:55

update:
8: Undefined variable: f_opt_id
File: /public_html/issue_edit_page.php
Line: 73
8: Undefined variable: f_opt_id
File:
/public_html/issue_edit_page.php
Line: 76
8: Undefined variable: f_opt_id
File: /public_html/issue_edit_page.php
Line: 79
8: Undefined variable: f_opt_id
File:
/public_html/issue_edit_page.php
Line: 82

so better solution:
if (isset($_GET['opt']))
$f_opt_id = intval( $_GET['opt'] );
else
$f_opt_id = NULL;