From c0f728ba9ea59d77e6d4e219225454b3fe94c86c Mon Sep 17 00:00:00 2001 From: gregb_cc Date: Wed, 12 Mar 2003 21:40:47 +0000 Subject: [PATCH] code formatting change: switched from alternative syntax to using {} --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index e109b8f248..903d62ed9e 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -501,13 +501,13 @@ function replace_smilies($text) { '}-]' => 'evil.gif', ); - if($runonce == false): + if($runonce == false){ foreach ($emoticons as $emoticon => $image){ $e[] = $emoticon; $img[] = "\"$emoticon\"wwwroot}/pix/s/{$image}\">"; } $runonce = true; - endif; + } return str_replace($e, $img, $text); } -- 2.39.5