Skip to content

Commit

Permalink
fix bug helios-ag#143
Browse files Browse the repository at this point in the history
  • Loading branch information
php-nik authored Jan 31, 2017
1 parent 15db601 commit eea5bd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Decoda/Hook/EmoticonHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ public function getMatcher()
$cache->write($dumper->dump($options), $this->getEmoticonCollection()->getResources());
}

require_once $cacheFile;
if (!class_exists($class)) {
require_once $cacheFile;
}

return $this->matcher = new $class();
}
Expand Down

0 comments on commit eea5bd0

Please sign in to comment.