[pLog-svn] r2036 - plugins/trunk/stickyposts
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sat May 21 18:16:12 GMT 2005
Author: oscar
Date: 2005-05-21 18:16:12 +0000 (Sat, 21 May 2005)
New Revision: 2036
Modified:
plugins/trunk/stickyposts/pluginstickyposts.class.php
Log:
lss's fix to the plugin (http://bugs.plogworld.net/view.php?id=531)
Modified: plugins/trunk/stickyposts/pluginstickyposts.class.php
===================================================================
--- plugins/trunk/stickyposts/pluginstickyposts.class.php 2005-05-21 10:27:40 UTC (rev 2035)
+++ plugins/trunk/stickyposts/pluginstickyposts.class.php 2005-05-21 18:16:12 UTC (rev 2036)
@@ -66,7 +66,7 @@
} else if ( 'announce' == $catId ){
$catId = $this->announceCategoryId;
$maxpost = $this->maxAnnounces;
- } else if ( is_int( $catId ) ){
+ } else if ( is_numeric( $catId ) ){
$maxpost = -1;
}else return null;
@@ -84,7 +84,7 @@
$catId = $this->stickyCategoryId;
} else if ( 'announce' == $catId ){
$catId = $this->announceCategoryId;
- } else if ( !is_int( $catId ) ) return null;
+ } else if ( !is_numeric( $catId ) ) return null;
$blogId = $this->blogInfo->getId();
More information about the pLog-svn
mailing list