From 3fd6591a688b841359a64cd0631d8e01a940541b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 07 Sep 2011 08:38:36 -0400
Subject: [PATCH] Fixed: FS#1717 - Regular Expression (@reboot) in User Cron

---
 interface/web/sites/form/cron.tform.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/sites/form/cron.tform.php b/interface/web/sites/form/cron.tform.php
index fc63548..3a7bd6d 100644
--- a/interface/web/sites/form/cron.tform.php
+++ b/interface/web/sites/form/cron.tform.php
@@ -129,7 +129,7 @@
             'formtype'  => 'TEXT',
             'validators'    => array (  0 => array (    'type'  => 'CUSTOM',
                                                         'class' => 'validate_cron',
-                                                        'function' => 'run_time_format',
+                                                        'function' => 'run_month_format',
                                                         'errmsg'=> 'run_month_error_format'),
                                     ),
             'default'   => '',

--
Gitblit v1.9.1