Revision: 2993
          https://sourceforge.net/p/mrbs/code/2993/
Author:   cimorrison
Date:     2015-01-28 16:59:38 +0000 (Wed, 28 Jan 2015)
Log Message:
-----------
Renamed function to get rid of an upper-case 'I' and so avoid possible problems 
in a Turkish locale

Modified Paths:
--------------
    mrbs/trunk/web/mrbs_sql.inc

Modified: mrbs/trunk/web/mrbs_sql.inc
===================================================================
--- mrbs/trunk/web/mrbs_sql.inc 2015-01-28 16:46:27 UTC (rev 2992)
+++ mrbs/trunk/web/mrbs_sql.inc 2015-01-28 16:59:38 UTC (rev 2993)
@@ -100,7 +100,7 @@
 // bookings in the interval of type $interval_type (can be 'day', 'week', 
'month' or
 // 'year').   If $only_area is set then only the bookings in the same are 
considered.
 // Returns NULL if OK, otherwise an error string.
-function checkInterval(&$booking, $ignore, $repignore, $interval_type='day', 
$only_area=FALSE)
+function check_interval(&$booking, $ignore, $repignore, $interval_type='day', 
$only_area=FALSE)
 {
   global $max_per_interval_global, $max_per_interval_area;
   global $tbl_entry, $tbl_room;
@@ -406,7 +406,7 @@
     // globally
     if (!empty($max_per_interval_global_enabled[$interval_type]) && !$delete)
     {
-      $tmp = checkInterval($booking, $ignore, $repignore, $interval_type, 
FALSE);
+      $tmp = check_interval($booking, $ignore, $repignore, $interval_type, 
FALSE);
       if (isset($tmp))
       {
         $errors[] = $tmp;
@@ -415,7 +415,7 @@
     // for the area
     if (!empty($max_per_interval_area_enabled[$interval_type]) && !$delete)
     {
-      $tmp = checkInterval($booking, $ignore, $repignore, $interval_type, 
TRUE);
+      $tmp = check_interval($booking, $ignore, $repignore, $interval_type, 
TRUE);
       if (isset($tmp))
       {
         $errors[] = $tmp;
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to