Addded cifurl and -cable url to Preordercampaign
This commit is contained in:
@@ -287,8 +287,6 @@ class mfBaseController {
|
||||
// Helper functions
|
||||
|
||||
public static function dateToTimestamp($date) {
|
||||
$t = array(0,0,0);
|
||||
|
||||
// extract day, month, year
|
||||
if (!preg_match('/^(\d{1,2})\.(\d{1,2})\.(\d{2,4})/',$date,$d)) {
|
||||
return false;
|
||||
@@ -298,6 +296,8 @@ class mfBaseController {
|
||||
if (!$t[3]) {
|
||||
$t[3] = 0;
|
||||
}
|
||||
} else {
|
||||
$t = array(0,0,0);
|
||||
}
|
||||
// make and return timestamp
|
||||
$ts = mktime($t[1],$t[2],$t[3],$d[2],$d[1],$d[3]);
|
||||
|
||||
Reference in New Issue
Block a user