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 794e224..c7fdc9d 100644 (file)
@@ -131,7 +131,7 @@ SET
 WHERE
        `userid`=%s
 LIMIT 1",
-               array(getUserId()), __FILE__, __LINE__);
+                       array(getUserId()), __FILE__, __LINE__);
 
                // 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
-                               loadTemplate('member_holiday_form');
+                               loadTemplate('member_holiday_form', false, $content);
                                break;
                }
        } else {