small dedi fix

This commit is contained in:
kremsy 2014-02-24 00:05:05 +01:00 committed by Steffen Schröder
parent 812a4c0d81
commit 474bf84d24

View File

@ -447,7 +447,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
* @param bool $reset
*/
private function fetchDedimaniaRecords($reset = true) {
if ($this->dedimaniaData->sessionId == '') {
if (!$this->dedimaniaData || $this->dedimaniaData->sessionId == '') {
return false;
}