diff --git a/SourceGitweb/SourceGitweb.php b/SourceGitweb/SourceGitweb.php index 5be6331..7c43528 100644 --- a/SourceGitweb/SourceGitweb.php +++ b/SourceGitweb/SourceGitweb.php @@ -141,7 +141,7 @@ if ($t_branch != '*') { - $t_branches = map( 'trim', explode( ',', $t_branch ) ); + $t_branches = array_map( 'trim', explode( ',', $t_branch ) ); } else {