From 4892ae5b3b9018a3e64243b6aa350666f13c8d84 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 11 Jul 2016 00:12:34 +0200 Subject: [PATCH] Fixed issue in code-tag handling --- .../html/metacode/converter/CodeMetacodeConverter.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/html/metacode/converter/CodeMetacodeConverter.class.php b/wcfsetup/install/files/lib/system/html/metacode/converter/CodeMetacodeConverter.class.php index 07e9c5060f..24fb747e3d 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/converter/CodeMetacodeConverter.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/converter/CodeMetacodeConverter.class.php @@ -21,6 +21,9 @@ class CodeMetacodeConverter extends AbstractMetacodeConverter { $highlighter = $file = ''; switch (count($attributes)) { + case 0: + break; + case 1: if (is_numeric($attributes[0])) { $line = intval($attributes[0]); -- 2.20.1