[pLog-svn] r5230 - plugins/branches/lifetype-1.2/categorybrowser

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Mar 30 15:32:09 EDT 2007


Author: jondaley
Date: 2007-03-30 15:32:09 -0400 (Fri, 30 Mar 2007)
New Revision: 5230

Modified:
   plugins/branches/lifetype-1.2/categorybrowser/plugincategorybrowser.class.php
Log:
I never hit 'preview' apparently

Modified: plugins/branches/lifetype-1.2/categorybrowser/plugincategorybrowser.class.php
===================================================================
--- plugins/branches/lifetype-1.2/categorybrowser/plugincategorybrowser.class.php	2007-03-30 18:17:54 UTC (rev 5229)
+++ plugins/branches/lifetype-1.2/categorybrowser/plugincategorybrowser.class.php	2007-03-30 19:32:09 UTC (rev 5230)
@@ -36,9 +36,6 @@
 		    They will return false if it doesn't exist, or an Article
                     object if it does.<br/>";
 
-        if($source == "admin")
-            return;
-        
 	    $this->db =& Db::getDb();
 	    $this->_prefix =  Db::getPrefix();
 	    $this->_articles = new Articles();
@@ -54,7 +51,7 @@
             " AND l.category_id = " . $categoryId . 
             " and article_id = id" .
             " ORDER BY date DESC LIMIT 1;";
-
+        
         $result = $this->db->Execute($query);
 	    if(!$result || ($result->RecordCount() == 0))
             return false;



More information about the pLog-svn mailing list