diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-10-08 13:29:07 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-10-08 13:29:07 +0200 |
commit | d4e09e003ca329acfe61deb59ccd8eaf043acd35 (patch) | |
tree | fc95c04862054a2fbc4c2bf0af26820ca170cbd3 /ratatoeskr/sys/models.php | |
parent | 990b708dff0c9eca3d576a890e962c4dd40226c8 (diff) | |
download | ratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.tar.gz ratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.tar.bz2 ratatoeskr-cms-d4e09e003ca329acfe61deb59ccd8eaf043acd35.zip |
Minor bugfixes...
* Corrected a SQL query in models.php.
* Passed $lang to *_ste_transform functions in frontend.php.
Diffstat (limited to 'ratatoeskr/sys/models.php')
-rw-r--r-- | ratatoeskr/sys/models.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |