diff --git a/class2.php b/class2.php index 00e4278d1..73e8e7c5f 100755 --- a/class2.php +++ b/class2.php @@ -1274,7 +1274,7 @@ if (!class_exists('e107table', false)) { $this->thm->tablestyle($caption, $text, $mode, $options); } - else + elseif(function_exists('tablestyle')) { tablestyle($caption, $text, $mode, $options); }