Missing index HISTORY in $REQ
Brought to you by:
mixd
In saja.process.php there is the following at line 42:
$use_history = $REQ['HISTORY'];
which generate a notice due to undefine index.
I looked at the code and nowere such index is created, I guess it should be around line 230 in saja.php where the $_SESSION is valorized.
Logged In: NO
By te way the fix should be modify the following lines (starting at 226 saja.php):
$_SESSION['SAJA_PROCESS']['REQUESTS'][$request_id] = array (
'UTF8' => $this->true_utf8,
'FUNCTION' => $function,
'PROCESS_FILE' => $process_file ? $process_file : $this->get_process_file(),
'CLASS' => $this->get_process_class()
);
As follow
$_SESSION['SAJA_PROCESS']['REQUESTS'][$request_id] = array(
'UTF8' => $this->true_utf8,
'FUNCTION' => $function,
'PROCESS_FILE' => $process_file ? $process_file : $this->get_process_file(),
'CLASS' => $this->get_process_class(),
'HISTORY' => $use_history
);