1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

fix hook and cache

This commit is contained in:
Mzhelskiy Maxim 2013-07-23 22:24:34 +07:00
parent 77ae613a53
commit 16be721e7b
2 changed files with 3 additions and 1 deletions

View file

@ -368,7 +368,7 @@ class ModuleCache extends Module {
* @return mixed
*/
public function GetLife($sName) {
if (key_exists($sName,$this->aStoreLife)) {
if (array_key_exists($sName,$this->aStoreLife)) {
return $this->aStoreLife[$sName];
}
return false;

View file

@ -19,6 +19,8 @@
* @author Sergey S Yaglov
* @link http://livestreet.ru/profile/1d10t
*/
var ls = ls || {};
ls.hook = (function ($) {
this.hooks = {};