Extension talk:CategoryCloud

I'm using a german MediaWiki Version 1.9.3. The Extension doesn't work, every Category seems to be empty. I changed the SQL-Statement to:

$sql = 'SELECT cl.cl_to as name, count(*) as count ' . ' FROM categorylinks cl' . ' LEFT JOIN page AS p on p.page_title = cl.cl_to' . ' WHERE cl.cl_to LIKE '. $dbr->addQuotes($categoryName) . ' GROUP BY cl.cl_to' . ' ORDER BY '. $order. ' ASC';

Now it works. Have fun.