Commit:    bf8ae9d5a3762d64b8362b8015fa52b3d62b954b
Author:    Roman Pronskiy <[email protected]>         Wed, 25 Nov 2020 16:33:50 
+0200
Committer: Sara Golemon <[email protected]>      Wed, 25 Nov 2020 20:28:13 +0000
Parents:   ddaa6d358b42df298c03e60d9bd3745f09697b88
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=bf8ae9d5a3762d64b8362b8015fa52b3d62b954b

Log:
Update include/layout.inc

Co-authored-by: Gabriel Caruso <[email protected]>

Changed paths:
  M  include/layout.inc


Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 490587905..4c82a9a08 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -54,7 +54,8 @@ function highlight_php_trimmed($code, $return = false)
     $highlighted_code = preg_replace("/\&lt;\?php(\<br \/\>)+/", '', 
$highlighted_code, 1);
 
     if ($return) { return $highlighted_code; }
-    else { echo $highlighted_code; }
+
+    echo $highlighted_code;
 }
 
 // Stats pages still need this


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to