diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-12-26 12:28:00 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-12-26 12:28:00 +0000 |
| commit | 54fb5b7cf96b27ff153a700314d2ae10c570a2a8 (patch) | |
| tree | 9155ae47abb3b0fd40bd800631606cb44061fb6f /BitArticleType.php | |
| parent | c83a84ec21dc963c89e4d8c1e09935297acb04b8 (diff) | |
| download | articles-54fb5b7cf96b27ff153a700314d2ae10c570a2a8.tar.gz articles-54fb5b7cf96b27ff153a700314d2ae10c570a2a8.tar.bz2 articles-54fb5b7cf96b27ff153a700314d2ae10c570a2a8.zip | |
merge recent changes into HEAD
Diffstat (limited to 'BitArticleType.php')
| -rw-r--r-- | BitArticleType.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BitArticleType.php b/BitArticleType.php index ce2650f..398a236 100644 --- a/BitArticleType.php +++ b/BitArticleType.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.7 2005/10/30 19:48:40 lsces Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/BitArticleType.php,v 1.9 2006/01/10 21:11:08 squareing Exp $ * @package article */ @@ -26,7 +26,7 @@ class BitArticleType extends BitBase } function isValid() { - return (!empty($this->mTypeId)); + return (@BitBase::verifyId($this->mTypeId)); } function loadType($iTypeId) { @@ -55,7 +55,7 @@ class BitArticleType extends BitBase $isNewType = FALSE; // Validate the (optional) topic_id parameter - if (!empty($iParamHash['article_type_id'])) { + if (@BitBase::verifyId($iParamHash['article_type_id'])) { $cleanHash['article_type_id'] = (int)$iParamHash['article_type_id']; } else { $isNewType = TRUE; |
