Permalink
Browse files

# [#27754] 404 category not found - due to syntax change in platform

  • Loading branch information...
hooduku authored and infograf768 committed Jan 18, 2012
1 parent 8b778c0 commit 2eccde073553fccac1ab34a6afe96d3e5349b17e
Showing with 2 additions and 1 deletion.
  1. +1 −0 installation/CHANGELOG
  2. +1 −1 libraries/joomla/application/categories.php
View
@@ -37,6 +37,7 @@ $ -> Language fix or change
# [#27768] reCaptcha always shows up in english. Thanks Rouven
# [#27764] server not found error in Extension Manager - DB specific. Thanks Sudhi
$ Adding comment in en-GB.plg_captcha_recaptcha.ini
+ # [#27754] 404 category not found - due to syntax change in platform
-------------------- 2.5.0 RC1 Release [18-Jan-2012] ------------------
@@ -290,7 +290,7 @@ protected function _load($id)
// Right join with c for category
$query->select('c.*');
$case_when = ' CASE WHEN ';
- $case_when .= $query->charLength('c.alias') . '!=0';
+ $case_when .= $query->charLength('c.alias');
$case_when .= ' THEN ';
$c_id = $query->castAsChar('c.id');
$case_when .= $query->concatenate(array($c_id, 'c.alias'), ':');

0 comments on commit 2eccde0

Please sign in to comment.