9
And the snippet there reads...
function modform()
{
global $xoopsDB, $_POST, $myts, $eh, $title, $data, $id;
//$title5 = $myts->makeTboxData4Save($_POST["desc_form5"]);
if (empty($id)) {
redirect_header("modform.php", 2, _MD_ERRORTITLE);
}
$url = "index.php?id=$id";
Header("Location: $url");
// redirect_header("index.php?title=$data[$title]",2,_FORMULAIRE_FORMCHARG);
}
Which does not make me understand it. What seems to happen is that the page is being falsely redirected after hitting on an emtpy id. But this doesn make sense because the Modify link does have a valid id in it... gonna dig deeper, but if anyone has a better idea about this... please help.