Permalink
Browse files

Fixing readme, closes #13

  • Loading branch information...
1 parent 6ad5955 commit 2fe3e615e358a116601df3acbc148e4ef7156f9c @lorenzo lorenzo committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
View
@@ -39,7 +39,7 @@ Finally you need to tell CakePHP to produce the correct url in your views. Open
class AppHelper extends Helper {
public function url($url = null, $full = false) {
- if (empty(is_array($url) && !array_key_exists('lang', $url)) {
+ if (empty(is_array($url)) && !array_key_exists('lang', $url)) {
$url['lang'] = Configure::read('Config.language');
}
return parent::url($url, $full);

0 comments on commit 2fe3e61

Please sign in to comment.