Оптимизации и исправления топов.
This commit is contained in:
parent
77fa3dbd5e
commit
0f4b2fb722
25 changed files with 109 additions and 53 deletions
|
|
@ -25,7 +25,8 @@ class Validator_Rule_Code extends Validator_Rule_Abstract
|
|||
$name = $this->field;
|
||||
|
||||
if (is_array($_POST[$name . '_code_genre'])) {
|
||||
for($n = 0; $n < count($_POST[$name . '_code_genre']); $n++) {
|
||||
$count = count($_POST[$name . '_code_genre']);
|
||||
for($n = 0; $n < $count; $n++) {
|
||||
$code = array(
|
||||
$_POST[$name . '_code_genre'][$n],
|
||||
$_POST[$name . '_code_f'][$n],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue