summaryrefslogtreecommitdiff
path: root/LibertyContent.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-02-20 22:08:41 +0000
committerChristian Fowler <spider@viovio.com>2006-02-20 22:08:41 +0000
commit6da667cfc5c69c8a987a9b5416e956838e65f224 (patch)
tree1c4730a75324ca42ee5ebdd37a1cf409d23991a0 /LibertyContent.php
parent0b74666f3461edf6a6a01c1725c126c581ba8605 (diff)
downloadliberty-6da667cfc5c69c8a987a9b5416e956838e65f224.tar.gz
liberty-6da667cfc5c69c8a987a9b5416e956838e65f224.tar.bz2
liberty-6da667cfc5c69c8a987a9b5416e956838e65f224.zip
fix get content type for empty objects
Diffstat (limited to 'LibertyContent.php')
-rw-r--r--LibertyContent.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/LibertyContent.php b/LibertyContent.php
index 1d00653..5af3157 100644
--- a/LibertyContent.php
+++ b/LibertyContent.php
@@ -3,7 +3,7 @@
* Management of Liberty content
*
* @package liberty
-* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.77 2006/02/20 17:51:34 squareing Exp $
+* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.78 2006/02/20 22:08:41 spiderr Exp $
* @author spider <spider@steelsun.com>
*/
@@ -949,6 +949,9 @@ class LibertyContent extends LibertyBase {
$ret = NULL;
if( isset( $this->mInfo['content_type_guid'] ) ) {
$ret = $this->mInfo['content_type_guid'];
+ } elseif( $this->mContentTypeGuid ) {
+ // for unloaded classes
+ $ret = $this->mContentTypeGuid;
}
return $ret;
}