Fix PHP warning

1.10.x
Julio 9 years ago
parent 39e081b72d
commit ad80cd4d2f
  1. 7
      main/mySpace/session.php

@ -67,7 +67,7 @@ if (api_is_drh() || api_is_session_admin() || api_is_platform_admin()) {
$actionsLeft .= $item;
}
}
$actionsRight = '';
if (count($a_sessions) > 0) {
$actionsRight = Display::url(
Display::return_icon('printer.png', get_lang('Print'), array(), 32),
@ -80,7 +80,10 @@ if (api_is_drh() || api_is_session_admin() || api_is_platform_admin()) {
);
}
$toolbar = Display::toolbarAction('toolbar-session', $content = array( 0 => $actionsLeft, 1 => $actionsRight ));
$toolbar = Display::toolbarAction(
'toolbar-session',
$content = array(0 => $actionsLeft, 1 => $actionsRight)
);
echo $toolbar;
echo Display::page_header(get_lang('YourSessionsList'));

Loading…
Cancel
Save