MDL-70893 various: optional function arguments must be in the end

This commit is contained in:
Marina Glancy
2021-02-15 16:53:37 +01:00
parent 41037efa7a
commit 0eada7a5f9
20 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -488,7 +488,7 @@ function rss_end_tag($tag,$level=0,$endline=true) {
* @param array $attributes the attributes of the xml tag
* @return string the whole xml element
*/
function rss_full_tag($tag,$level=0,$endline=true,$content,$attributes=null) {
function rss_full_tag($tag, $level, $endline, $content, $attributes = null) {
$st = rss_start_tag($tag,$level,$endline,$attributes);
$co="";
$co = preg_replace("/\r\n|\r/", "\n", htmlspecialchars($content));