diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-26 14:56:29 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-26 14:56:29 +0000 |
| commit | 0b9692b002b4562fb5e360335c562c4696a8af5c (patch) | |
| tree | fd9d45b880e9a534893c80dcf1c47870a1d9da5b /BitArticleType.php | |
| parent | 5ea8f9b846e9c324bf55348b5119788dff1af268 (diff) | |
| download | articles-0b9692b002b4562fb5e360335c562c4696a8af5c.tar.gz articles-0b9692b002b4562fb5e360335c562c4696a8af5c.tar.bz2 articles-0b9692b002b4562fb5e360335c562c4696a8af5c.zip | |
merge recent changes into HEAD
Diffstat (limited to 'BitArticleType.php')
| -rw-r--r-- | BitArticleType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BitArticleType.php b/BitArticleType.php index 007207a..8fd569a 100644 --- a/BitArticleType.php +++ b/BitArticleType.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.11 2006/01/25 23:40:29 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.12 2006/01/26 14:56:29 squareing Exp $ * @package article */ @@ -39,7 +39,7 @@ class BitArticleType extends BitBase if ($this->mTypeId) { $sql = "SELECT * FROM `".BIT_DB_PREFIX."tiki_article_types` WHERE `article_type_id` = ?"; - if( $ret = $this->mDb->getRow($sql, array($this->mTypeId)) ) { + if( $ret = $this->mDb->getRow( $sql, array( $this->mTypeId ) ) ) { $ret['num_articles'] = $this->mDb->getOne('SELECT COUNT(*) FROM `'.BIT_DB_PREFIX.'tiki_articles` WHERE `article_type_id` = ?', array($ret['article_type_id'])); } } |
