phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
511 core / field option trivial always 2008-02-07 15:44 2008-02-07 15:44
adrianoison PC  
Windows  
normal XP  
new 5.7.1 (stable)  
open  
none  
none  
Wrong "echo include" in field option "php"
At phpMyEdit.class.php, near this (line 1065):

else echo $this->fdd[$k]['default'];
echo '</textarea>',"\n";
} elseif ($this->col_has_php($k)) {
echo include($this->fdd[$k]['php']);
} else {
// Simple edit box required

I think this "echo include" is wrong, because it makes to show a "1" after the php code.
Solution: to remove the "echo".

There are no notes attached to this bug.