Spelling fix.
This commit is contained in:
parent
c39f5c2174
commit
3eca572866
@ -116,7 +116,7 @@ class IDF_Form_Upload extends Pluf_Form
|
|||||||
else $count[$class] += 1;
|
else $count[$class] += 1;
|
||||||
if (in_array($class, $onemax) and $count[$class] > 1) {
|
if (in_array($class, $onemax) and $count[$class] > 1) {
|
||||||
if (!isset($this->errors['label'.$i])) $this->errors['label'.$i] = array();
|
if (!isset($this->errors['label'.$i])) $this->errors['label'.$i] = array();
|
||||||
$this->errors['label'.$i][] = sprintf(__('You cannot provide more than label from the %s class to an issue.'), $class);
|
$this->errors['label'.$i][] = sprintf(__('You cannot provide more than label from the %s class to a download.'), $class);
|
||||||
throw new Pluf_Form_Invalid(__('You provided an invalid label.'));
|
throw new Pluf_Form_Invalid(__('You provided an invalid label.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user