[pLog-svn] r1758 - plog/branches/plog-1.1-ben/class/dao

ork at devel.plogworld.net ork at devel.plogworld.net
Tue Apr 5 21:19:28 GMT 2005


Author: ork
Date: 2005-04-05 21:19:28 +0000 (Tue, 05 Apr 2005)
New Revision: 1758

Modified:
   plog/branches/plog-1.1-ben/class/dao/article.class.php
Log:
i like curly brackets.. why dont everyone? ..


Modified: plog/branches/plog-1.1-ben/class/dao/article.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/article.class.php	2005-04-05 20:26:16 UTC (rev 1757)
+++ plog/branches/plog-1.1-ben/class/dao/article.class.php	2005-04-05 21:19:28 UTC (rev 1758)
@@ -773,11 +773,12 @@
 		 */
 		function getPostSlug()
 		{
-			if( $this->_slug == "" )
+			if( $this->_slug == "" ) {
                 include_once( PLOG_CLASS_PATH.'class/data/textfilter.class.php' );
 				$slug = Textfilter::urlize( $this->getTopic());
-			else
+			} else {
 				$slug = $this->_slug;
+            }
 				
 			return $slug;
 		}




More information about the pLog-svn mailing list