Skip to content

Commit

Permalink
onthisday fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 committed Sep 27, 2017
1 parent 6417eef commit 77e3395
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -58,7 +58,7 @@ original version: 16 February 2009
still able download: http://keal.me.uk/e107_plugins/download/download.php?action=view&id=149
original author: https://github.com/G4HDU


state: fixed visible error



Expand Down
5 changes: 3 additions & 2 deletions onthisday_menu/onthisday_menu.php
Expand Up @@ -15,7 +15,8 @@
{
exit;
}
global $sql, $tp, $pref, $OTD_PREF, $otd_obj;
global $sql, $tp, $pref, $OTD_PREF, $otd_obj, $e107cache;

if (!is_object($otd_obj))
{
require_once(e_PLUGIN . 'onthisday_menu/includes/onthisday_class.php');
Expand All @@ -36,7 +37,7 @@
echo $cacheData;
}
else
{
{
if ($otd_obj->otd_read)
{
include_lan(e_PLUGIN . "onthisday_menu/languages/" . e_LANGUAGE . ".php");
Expand Down

0 comments on commit 77e3395

Please sign in to comment.