[pLog-svn] r2182 - plog/branches/plog-1.0.2/class/gallery/dao

Jon Daley plogworld at daley.snurgle.org
Wed Jun 8 13:42:05 GMT 2005


 	This one to make Ben happy.  Is there a way in PHP to force 
variables to be declared, or at least to spit out messages when there are 
typos like this?
 	Maybe a phplint program or something?

On Wed, 8 Jun 2005 oscar at devel.plogworld.net wrote:
> Author: oscar
> Date: 2005-06-08 12:56:44 +0000 (Wed, 08 Jun 2005)
> New Revision: 2182
>
> Modified:
>   plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php
> Log:
> fixed issue 580 (http://bugs.plogworld.net/view.php?id=580), there was one
> issue with quotas not working very well...
>
>
> Modified: plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php
> ===================================================================
> --- plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php	2005-06-08 11:11:40 UTC (rev 2181)
> +++ plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php	2005-06-08 12:56:44 UTC (rev 2182)
> @@ -75,8 +75,8 @@
>
> 			// if not, calculate how many bytes we currently have
> 			$currentBytes = GalleryResourceQuotas::getBlogResourceQuotaUsage( $blogId );
> -
> -			if( ($currentByes + $fileSize) > $blogQuota )
> +
> +			if( ($currentBytes + $fileSize) > $blogQuota )
> 				return true;
> 			else
> 				return false;
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>

**************************************************************
*                           *   We should be less concerned  *
*     Jonathan M. Daley     *     making churches full of    *
*                           *    people and more concerned   *
*   jondaley at snurgle.org    *   about making people full of  *
*                           *              God.              *
* www.snurgle.org/~jondaley *    -- C. Kirk Hadawy and David *
*                           *                         Roozen *
**************************************************************



More information about the pLog-svn mailing list