Changeset:
f3e264491bb1
https://sourceforge.net/p/mrbs/hg-code/ci/f3e264491bb1b8b56ef894bdbe6226c87697a85c
Author:
Campbell Morrison <[email protected]>
Date:
Sun Mar 05 16:46:28 2017 +0000
Log message:
Made parameter order consistent with other functions.
diffstat:
web/functions.inc | 4 ++--
web/search.php | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 02451c91f114 -r f3e264491bb1 web/functions.inc
--- a/web/functions.inc Sun Mar 05 16:41:47 2017 +0000
+++ b/web/functions.inc Sun Mar 05 16:46:28 2017 +0000
@@ -170,12 +170,12 @@
// header uses are not yet available.
function print_simple_header()
{
- print_header($day=null, $month=null, $year=null, $area=null, $room=null,
$simple=true);
+ print_header($day=null, $month=null, $year=null, $area=null, $room=null,
$search_str=null, $simple=true);
}
// Print the page header
-function print_header($day=null, $month=null, $year=null, $area=null,
$room=null, $simple=false, $search_str=null)
+function print_header($day=null, $month=null, $year=null, $area=null,
$room=null, $search_str=null, $simple=false)
{
global $theme;
diff -r 02451c91f114 -r f3e264491bb1 web/search.php
--- a/web/search.php Sun Mar 05 16:41:47 2017 +0000
+++ b/web/search.php Sun Mar 05 16:46:28 2017 +0000
@@ -146,7 +146,7 @@
if (!$ajax)
{
- print_header($day, $month, $year, $area, isset($room) ? $room : null, false,
$search_str);
+ print_header($day, $month, $year, $area, isset($room) ? $room : null,
$search_str);
if (!empty($advanced))
{
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits