Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

SELECT * FROM category LEFT JOIN category_template ON category.category_template_index = category_template.category_template_index WHERE category.category_index =

Filename: models/Category_model.php

Line Number: 54