issue 207 whenempty all trash, return validator error message.

this bug fixed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9459 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-30 08:49:02 +00:00
parent 682dc6f243
commit 7e9da6dc98
2 changed files with 4 additions and 1 deletions

View file

@ -438,6 +438,7 @@
{
$this->_deleteDeclaredComments($args);
$this->_deleteVotedComments($args);
return new Object(0, 'success');
}
/**

View file

@ -3,6 +3,8 @@
<customrules>
</customrules>
<fields>
<field name="trash_srls" required="true" />
<field name="cart">
<if test="$is_all != 'true'" attr="required" value="true" />
</field>
</fields>
</ruleset>