Thanks, but this did not solve a problem for me...
if I put the echo in every condition block to see what triggers the error, the first condition triggers the error...
----
if (!isset($documentid) || !is_numeric($documentid) || intval($documentid)<1) {
echo "1 -".$documentid;
UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id"));
}
----
because
$documentid is empty in my case for any document...
any suggestion where to look would be appreciated...
(((
if I put the echo in every condition block to see what triggers the error, the first condition triggers the error...
----
if (!isset($documentid) || !is_numeric($documentid) || intval($documentid)<1) {
echo "1 -".$documentid;
UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id"));
}
----
because
$documentid is empty in my case for any document...
any suggestion where to look would be appreciated...
(((