Added missing $
authorCobbleCity <patric.steffen@cobblecity.de>
Fri, 28 Nov 2014 10:24:50 +0000 (11:24 +0100)
committerCobbleCity <patric.steffen@cobblecity.de>
Fri, 28 Nov 2014 10:24:50 +0000 (11:24 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 6a82064c5f46286cb3fe930a2ac24dec06ce3c5b..66d8d8f0a8b625d259b22587ae6a1fb5207af377 100644 (file)
@@ -297,7 +297,7 @@ RedactorPlugins.wbbcode = function() {
                                if ($link) {
                                        $quote = "[quote='" + $author + "','" + $link + "']";
                                }
-                               else if (author) {
+                               else if ($author) {
                                        $quote = "[quote='" + $author + "']";
                                }
                                else {