From d4e09e003ca329acfe61deb59ccd8eaf043acd35 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 8 Oct 2011 13:29:07 +0200 Subject: Minor bugfixes... * Corrected a SQL query in models.php. * Passed $lang to *_ste_transform functions in frontend.php. --- ratatoeskr/sys/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/sys/models.php') diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index 0ec4111..0a14a3d 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -1772,7 +1772,7 @@ class Article { $obj = new self; $obj ->populate_by_sqlresult(qdb( - "SELECT `id`, `urltitle`, `title`, `text`, `excerpt`, `meta`, `custom`, `article_image`, `status`, `section`, `timestamp`, `allow_comments` FROM `PREFIX_articles` WHERE `urlname` = '%s'", $urlname + "SELECT `id`, `urltitle`, `title`, `text`, `excerpt`, `meta`, `custom`, `article_image`, `status`, `section`, `timestamp`, `allow_comments` FROM `PREFIX_articles` WHERE `urltitle` = '%s'", $urlname )); return $obj; } -- cgit v1.2.3-70-g09d2