diff options
| author | Lester Caine <lester@lsces.co.uk> | 2009-04-07 12:38:16 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2009-04-07 12:38:16 +0000 |
| commit | 3bc67939b2c8f02a502e836ad56e85e91d50d4da (patch) | |
| tree | 9c425359b2a294479c4f6d4da85d68c5df5d66c2 | |
| parent | 57d8d1e971bff2d9cf93653d0b0f5a80ade3b044 (diff) | |
| download | liberty-3bc67939b2c8f02a502e836ad56e85e91d50d4da.tar.gz liberty-3bc67939b2c8f02a502e836ad56e85e91d50d4da.tar.bz2 liberty-3bc67939b2c8f02a502e836ad56e85e91d50d4da.zip | |
Prevent parsing of 100 pages while creating generic content list.
Perhaps 'load' should default to NOT loading the fine detail, and that should only be enabled when the content is being displayed?
| -rw-r--r-- | LibertyContent.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyContent.php b/LibertyContent.php index 790b99f..569baf0 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.398 2009/04/02 16:53:27 tekimaki_admin Exp $ +* @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyContent.php,v 1.399 2009/04/07 12:38:16 lsces Exp $ * @author spider <spider@steelsun.com> */ @@ -2452,7 +2452,7 @@ class LibertyContent extends LibertyBase { if( !empty( $pListHash['thumbnail_size'] ) ) { $aux['content_object'] = new $type['handler_class']( NULL, $aux['content_id'] ); - if( $aux['content_object']->load() ) { + if( $aux['content_object']->load( FALSE ) ) { $aux['thumbnail_url'] = $aux['content_object']->getThumbnailUrl( $pListHash['thumbnail_size'] ); } } |
