[pLog-svn] r3529 - plog/tags/lifetype-1.0.5/class/action
Mark Wu
markplace at gmail.com
Sun Jun 4 17:43:30 GMT 2006
Ah ... I did not notice this, Seems you already fixed it tags ... :)
I just apply the same fix in branches ... :(
Sorry, if make anyone confuse.
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
> oscar at devel.lifetype.net
> Sent: Monday, June 05, 2006 1:03 AM
> To: plog-svn at devel.lifetype.net
> Subject: [pLog-svn] r3529 - plog/tags/lifetype-1.0.5/class/action
>
> Author: oscar
> Date: 2006-06-04 17:02:57 +0000 (Sun, 04 Jun 2006) New Revision: 3529
>
> Modified:
>
> plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php
>
> plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksact
> ion.class.php
> Log:
> just fixed the issue with the validator that mark spotted
>
>
> Modified:
> plog/tags/lifetype-1.0.5/class/action/resourceserveraction.class.php
> ===================================================================
> ---
> plog/tags/lifetype-1.0.5/class/action/resourceserveraction.cl
> ass.php 2006-06-04 16:49:29 UTC (rev 3528)
> +++
> plog/tags/lifetype-1.0.5/class/action/resourceserveraction.cl
> ass.php 2006-06-04 17:02:57 UTC (rev 3529)
> @@ -38,11 +38,11 @@
> $this->registerFieldValidator(
> "resource", new StringValidator(), true );
> $this->registerFieldValidator( "resId",
> new IntegerValidator(), true );
> $this->registerFieldValidator(
> "albumId", new IntegerValidator(), true );
> - $this->registerFieldValidator(
> "albumName", new IntegerValidator(), true );
> + $this->registerFieldValidator(
> "albumName", new StringValidator(),
> +true );
> $this->registerFieldValidator(
> "blogId", new IntegerValidator(), true );
> - $this->registerFieldValidator(
> "blogName", new IntegerValidator(), true );
> + $this->registerFieldValidator(
> "blogName", new StringValidator(),
> +true );
> $this->registerFieldValidator(
> "userId", new IntegerValidator(), true );
> - $this->registerFieldValidator(
> "blogUserName", new IntegerValidator(), true );
> + $this->registerFieldValidator(
> "blogUserName", new StringValidator(), true );
>
> // since this class does not return
> HTML code but files, we cannot
> // return HTML so let's return 404
> status code with a custom error message
>
> Modified:
> plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksact
> ion.class.php
> ===================================================================
> ---
> plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksact
> ion.class.php 2006-06-04 16:49:29 UTC (rev 3528)
> +++
> plog/tags/lifetype-1.0.5/class/action/viewarticletrackbacksact
> ion.class.php 2006-06-04 17:02:57 UTC (rev 3529)
> @@ -21,7 +21,7 @@
> {
>
> var $_articleId;
> - var $_articleName;
> + var $_articleName;
> var $_categoryId;
> var $_categoryName;
> var $_userId;
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list