[pLog-svn] r3770 - plog/trunk/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sat Jul 22 17:43:02 GMT 2006
Author: jondaley
Date: 2006-07-22 17:43:02 +0000 (Sat, 22 Jul 2006)
New Revision: 3770
Modified:
plog/trunk/class/dao/article.class.php
Log:
working on bug 901. This revision doesn't change anything, just cleanup
Modified: plog/trunk/class/dao/article.class.php
===================================================================
--- plog/trunk/class/dao/article.class.php 2006-07-22 17:32:21 UTC (rev 3769)
+++ plog/trunk/class/dao/article.class.php 2006-07-22 17:43:02 UTC (rev 3770)
@@ -79,11 +79,10 @@
$this->_numTrackbacks = 0;
$this->_totalTrackbacks = 0;
$this->_numReads = $numReads;
- if( $slug == "" ) {
- include_once( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
- $this->_slug = Textfilter::urlize( $topic );
- }
- else $this->setPostSlug( $slug );
+ if($slug == "")
+ $this->setPostSlug($topic);
+ else
+ $this->setPostSlug($slug);
// by default it'll have current time
$this->_timestamp = new Timestamp();
More information about the pLog-svn
mailing list