summaryrefslogtreecommitdiff
path: root/inc/geshi/latex.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/geshi/latex.php')
-rw-r--r--inc/geshi/latex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/geshi/latex.php b/inc/geshi/latex.php
index 76e653dbe..79547065f 100644
--- a/inc/geshi/latex.php
+++ b/inc/geshi/latex.php
@@ -24,7 +24,7 @@
*
************************************************************************************/
-if (is_a($this, 'GeSHi')) {
+if (isset($this) && is_a($this, 'GeSHi')) {
$this->set_symbols_highlighting(false);
$this->set_numbers_highlighting(false);
}