36
// create a token
[$usec, $sec] = explode(' ', microtime());
$appendix_salt = empty($_SERVER['PATH']) ? XOOPS_DB_NAME : $_SERVER['PATH'];
$token = crypt($salt . $usec . $appendix_salt . $sec, XOOPS_DB_PREFIX);
$this->_latest_token = $token;
modules/happy_linux/include/gtickets.php w linii 132
Parse error: syntax error, unexpected '=' in
How do I change to : list($usec, $sec) = explode(' ', microtime());
The error continues on line 287 ...
[$tmp_table, $tmp_form] = $this->extract_post_recursive(htmlspecialchars($key, ENT_QUOTES), $val);
$table .= $tmp_table;
$form .= $tmp_form;
Parse error: syntax error, unexpected '='
modules/happy_linux/include/gtickets.php on line 287
Thank you for the quick reply.