Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000034 [MyDNS-NG] Global minor always 2009-07-10 00:35 2009-11-15 17:35
Reporter itamarjp View Status public  
Assigned To jorge
Priority normal Resolution fixed  
Status resolved   Product Version 1.2.8.29
Summary 0000034: fix error in admin.php
Description Notice: Undefined index: edata in /usr/share/mydns/admin.php on line 3504

this patch fix this issue checking if $values['edata']) exist's before trying to use it.
Additional Information --- adminx.php.old 2009-07-09 19:26:21.000000000 -0400
+++ adminx.php 2009-07-09 19:31:46.000000000 -0400
@@ -3500,8 +3500,11 @@
   $values = $rr;
   $widget = NULL;

- if (strlen($values['edata']))
- $values['data'] .= $values['edata'];
+ if (isset($values['edata']))
+ {
+ if (strlen($values['edata']))
+ $values['data'] .= $values['edata'];
+ }

   if (!strlen($values['name']))
     $values['name'] = $soa['origin'];
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000086)
itamarjp (developer)
2009-10-16 14:22

any news about this bug report ?
(0000103)
jorge (administrator)
2009-11-15 17:35

Added patch on trunk.

- Issue History
Date Modified Username Field Change
2009-07-10 00:35 itamarjp New Issue
2009-10-16 14:22 itamarjp Note Added: 0000086
2009-11-15 17:35 jorge Note Added: 0000103
2009-11-15 17:35 jorge Status new => resolved
2009-11-15 17:35 jorge Fixed in Version => 1.2.8
2009-11-15 17:35 jorge Resolution open => fixed
2009-11-15 17:35 jorge Assigned To => jorge


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker