small dedi fix

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:27 +02:00
1 parent 812a4c0d81
commit 474bf84d24
1 file changed
+1 -1
+1 -1
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;
}