Permalink
Browse files

code formatting change: switched from alternative syntax to using {}

  • Loading branch information...
1 parent 6908193 commit c0f728ba9ea59d77e6d4e219225454b3fe94c86c gregb_cc committed Mar 12, 2003
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/weblib.php
View
4 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[] = "<IMG ALT=\"$emoticon\" WIDTH=15 HEIGHT=15 SRC=\"{$CFG->wwwroot}/pix/s/{$image}\">";
}
$runonce = true;
- endif;
+ }
return str_replace($e, $img, $text);
}

0 comments on commit c0f728b

Please sign in to comment.