Fix...
authorRoland Häder <roland@mxchange.org>
Thu, 29 Oct 2009 23:41:45 +0000 (23:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 29 Oct 2009 23:41:45 +0000 (23:41 +0000)
inc/modules/member/what-holiday.php

index 794e224ac54e088b3bea9d88145aa7392ed30c92..c7fdc9d51b2b8b9ea3507c25a93d3adf52769047 100644 (file)
@@ -131,7 +131,7 @@ SET
 WHERE
        `userid`=%s
 LIMIT 1",
 WHERE
        `userid`=%s
 LIMIT 1",
-               array(getUserId()), __FILE__, __LINE__);
+                       array(getUserId()), __FILE__, __LINE__);
 
                // Prepare constants
                $content['start_day']   = bigintval(postRequestElement('start_day'));
 
                // Prepare constants
                $content['start_day']   = bigintval(postRequestElement('start_day'));
@@ -294,7 +294,7 @@ LIMIT 1", array(getUserId()), __FILE__, __LINE__);
                                $content['end_year']  = addSelectionBox('year' , $Y, 'end');
 
                                // Output form
                                $content['end_year']  = addSelectionBox('year' , $Y, 'end');
 
                                // Output form
-                               loadTemplate('member_holiday_form');
+                               loadTemplate('member_holiday_form', false, $content);
                                break;
                }
        } else {
                                break;
                }
        } else {