== to === and != to !== where applicable

This commit is contained in:
euromark 2013-02-12 03:38:08 +01:00
parent ee4a116936
commit 111366d5c8
89 changed files with 291 additions and 291 deletions

View file

@ -477,7 +477,7 @@ class String {
);
if (isset($options['ending'])) {
$default['ellipsis'] = $options['ending'];
} elseif (!empty($options['html']) && Configure::read('App.encoding') == 'UTF-8') {
} elseif (!empty($options['html']) && Configure::read('App.encoding') === 'UTF-8') {
$default['ellipsis'] = "\xe2\x80\xa6";
}
$options = array_merge($default, $options);