[pLog-svn] r3006 - plog/trunk/class/view/admin

Oscar Renalias oscar at renalias.net
Fri Mar 3 06:08:56 GMT 2006


You're probably right, I will take another look at this.

Oscar

On 3/2/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
>         My guess would be that you want to set these variables to "" or
> null, rather than leaving them unassigned?  Because then you will have to
> have if(isset($this->_commentStatus)) later in the code.??
>
>
> On Thu, 2 Mar 2006, oscar at devel.lifetype.net wrote:
>
> > Author: oscar
> > Date: 2006-03-02 21:11:55 +0000 (Thu, 02 Mar 2006)
> > New Revision: 3006
> >
> > Modified:
> >   plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
> > Log:
> > fixed a couple of warnings
> >
> >
> > Modified: plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
> > ===================================================================
> > --- plog/trunk/class/view/admin/adminarticlecommentslistview.class.php        2006-03-02 19:29:25 UTC (rev 3005)
> > +++ plog/trunk/class/view/admin/adminarticlecommentslistview.class.php        2006-03-02 21:11:55 UTC (rev 3006)
> > @@ -44,12 +44,15 @@
> >                       $this->_article = $params["article"];
> >
> >                       // load the status
> > -                     $this->_commentStatus = $params["showStatus"];
> > +                     if( isset( $params["showStatus"] ))
> > +                             $this->_commentStatus = $params["showStatus"];
> > +
> >                       if( !ArticleCommentStatus::isValidStatus( $this->_commentStatus ))
> >                               $this->_commentStatus = COMMENT_STATUS_ALL;
> >
> >                       // laod the search terms
> > -                     $this->_searchTerms = $params["searchTerms"];
> > +                     if( isset( $params["searchTerms"] ))
> > +                             $this->_searchTerms = $params["searchTerms"];
> >               }
> >
> >               /**
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
>
> **************************************
> Jon Daley
> http://jon.limedaley.com/
>
> I will never apologize for the United States of America, ever.
> I don't care what the facts are.
> -- George Bush Sr.
> _______________________________________________
> 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