diff --git a/lam/lib/status.inc b/lam/lib/status.inc
index dd86e3c0..fd26ef10 100644
--- a/lam/lib/status.inc
+++ b/lam/lib/status.inc
@@ -62,7 +62,7 @@ function StatusMessage($MessageTyp, $MessageHeadline, $MessageText)
/* Use the three replace functions on the submitted Text. */
function parseMessageString($MessageString)
{
- return = linkText(colorText(boldText($MessageString)));
+ return linkText(colorText(boldText($MessageString)));
}
/* Replace {bold} and {endbold} with and HTML-Tags. */
@@ -70,7 +70,7 @@ function boldText($text)
{
$pattern = "/\{bold\}([^{]*)\{endbold\}/"; // Regular expression matching {bold}[Text]{endbold}
$replace = "\\1"; // Replace pattern
- return = preg_replace($pattern,$replace,$text);
+ return preg_replace($pattern,$replace,$text);
}
/* Replace {color=#[HEX-Value]} or {color=[HEX-Value]} and {endcolor} with and HTML-Tags. */
@@ -78,7 +78,7 @@ function colorText($text)
{
$pattern = "/\{color=#?([0-9,a-f,A-F]{6})\}([^{]*)\{endcolor\}/"; // Regular expression matching {color=#[HEX-Value]}[Text]{endcolor} or {color=[HEX-Value]}[Text]{endcolor}
$replace = "\\2"; // Replace pattern
- return = preg_replace($pattern,$replace,$text);
+ return preg_replace($pattern,$replace,$text);
}
/* Replace {link=[Link-Target]} and {endlink} with and HTML-Tags. */
@@ -86,6 +86,6 @@ function linkText($text)
{
$pattern = "/\{link=([^}]*)\}([^{]*)\{endlink\}/"; // Regular expression matching {link=[Link-Target]}[Text]{endlink}
$replace = "\\2"; //Replace pattern
- return = preg_replace($pattern,$replace,$text);
+ return preg_replace($pattern,$replace,$text);
}
-?>
\ No newline at end of file
+?>