diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:36:40 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:36:40 +0100 |
commit | 0adff1bac0617e5d02c7f8028c7fae8fedda9370 (patch) | |
tree | 7de1078388057d3223ec586bbd4a92fa94142b87 /system/libraries | |
parent | 46ac881006b1215e136a875491efb020c59246fb (diff) |
Replace AND with &&
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Form_validation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 4c393c1d5..2ee734ae6 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -738,7 +738,7 @@ class CI_Form_validation { { if ( ! isset($this->_field_data[$field], $this->_field_data[$field]['postdata'])) { - return ($default === TRUE AND count($this->_field_data) === 0) ? ' selected="selected"' : ''; + return ($default === TRUE && count($this->_field_data) === 0) ? ' selected="selected"' : ''; } $field = $this->_field_data[$field]['postdata']; |