summaryrefslogtreecommitdiff
path: root/kohana/helpers/valid.php
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/helpers/valid.php')
-rw-r--r--kohana/helpers/valid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/helpers/valid.php b/kohana/helpers/valid.php
index c2cefb5d..916a0c19 100644
--- a/kohana/helpers/valid.php
+++ b/kohana/helpers/valid.php
@@ -203,7 +203,7 @@ class valid_Core {
* @param string date to check
* @return boolean
*/
- public function date($str)
+ public static function date($str)
{
return (strtotime($str) !== FALSE);
}