Fix NS_PROJECT_TALK (bug #7792)
[lhc/web/wiklou.git] / includes / Math.php
index 30b4bfe..9fa631f 100644 (file)
@@ -39,6 +39,9 @@ class MathRenderer {
                        # No need to render or parse anything more!
                        return ('$ '.htmlspecialchars( $this->tex ).' $');
                }
+               if( $this->tex == '' ) {
+                       return; # bug 8372
+               }
 
                if( !$this->_recall() ) {
                        # Ensure that the temp and output directories are available before continuing...