Skip to content

Commit 891ad31

Browse files
Zipher04dregad
authored andcommitted
HgWeb: correct function map() to array_map() (#213)
(cherry picked from commit a68ad37)
1 parent cb804f2 commit 891ad31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SourceHgWeb/SourceHgWeb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function import_full( $p_repo ) {
160160
$t_branch = 'default';
161161
}
162162

163-
$t_branches = map( 'trim', explode( ',', $t_branch ) );
163+
$t_branches = array_map( 'trim', explode( ',', $t_branch ) );
164164
$t_changesets = array();
165165

166166
$t_changeset_table = plugin_table( 'changeset', 'Source' );

0 commit comments

Comments
 (0)