From 4e8c3e375c5b1412a00f4fa3000e3cf053d4863a Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 1 Jun 2020 13:04:39 -0700 Subject: [PATCH] Closes #4012 Precaution for when tablerender() is not found. --- class2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }