@@ -324,6 +324,7 @@ |
||
324 | 324 | * make sure the timestamp is less than the current time. |
325 | 325 | * |
326 | 326 | * @param string $date Advertisement date |
327 | + * @param string $type |
|
327 | 328 | * @return int The date converted to timestamp if valid, otherwise 0. |
328 | 329 | */ |
329 | 330 | protected function validate_date($date, $type) |