Fixed undefined property in news class found by @neozonz
This commit is contained in:
parent
97835f33ca
commit
1993ff604f
@ -102,4 +102,5 @@ $news = new News();
|
|||||||
$news->setDebug($debug);
|
$news->setDebug($debug);
|
||||||
$news->setMysql($mysqli);
|
$news->setMysql($mysqli);
|
||||||
$news->setUser($user);
|
$news->setUser($user);
|
||||||
|
$news->setErrorCodes($aErrorCodes);
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -36,6 +36,7 @@ class Token Extends Base {
|
|||||||
* @param account_id int Account id of user
|
* @param account_id int Account id of user
|
||||||
* @param token string Token to check
|
* @param token string Token to check
|
||||||
* @param type int Type of token
|
* @param type int Type of token
|
||||||
|
* @param checkTimeExplicitly Check the token time for expiration; can cause issues w/ timezone & sync
|
||||||
* @return int 0 or 1
|
* @return int 0 or 1
|
||||||
*/
|
*/
|
||||||
public function isTokenValid($account_id, $token, $type, $checkTimeExplicitly=false) {
|
public function isTokenValid($account_id, $token, $type, $checkTimeExplicitly=false) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user