Merge code github > bitbucket 2014-05-23 16:35
This commit is contained in:
@@ -3090,7 +3090,7 @@ class wsBase
|
||||
}
|
||||
|
||||
if (! empty( $unpauseDate )) {
|
||||
if (! preg_match( "/^\d{4}-\d{2}-\d{2}$/", $unpauseDate )) {
|
||||
if (! preg_match( "/^\d{4}-\d{2}-\d{2}| \d{2}:\d{2}:\d{2}$/", $unpauseDate )) {
|
||||
$result = new wsResponse( 100, G::LoadTranslation( "ID_INVALID_DATA" ) . " $unpauseDate" );
|
||||
|
||||
$g->sessionVarRestore();
|
||||
|
||||
Reference in New Issue
Block a user