diff --git a/lib/weblib.php b/lib/weblib.php index a0f4e37e7a1..848b5a092e9 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3923,7 +3923,7 @@ class tabobject { * @param string $selected The id of the selected tab * @param array $inactive Ids of inactive tabs **/ -function print_tabs($tabrows, $selected=NULL, $inactive=NULL) { +function print_tabs($tabrows, $selected=NULL, $inactive=NULL, $return=false) { global $CFG; /// Bring the row with the selected tab to the front @@ -3954,11 +3954,11 @@ function print_tabs($tabrows, $selected=NULL, $inactive=NULL) { /// A table to encapsulate the tabs $str = '
| '; /// Cycle through the tab rows foreach ($tabrows as $row) { - $str .= ' | |
| ';
$str .= ' |