[pLog-svn] r2823 - plog/trunk/class/dao/userdata
Mark Wu
markplace at gmail.com
Fri Jan 20 14:05:18 GMT 2006
Yep, but you have to revert (delete the inlcude blogstatus.class.php)
first ...
Then, you can switch to newPost, you will see the blog selection works
properly....
Second, swtich to editPost, the blog selection is empty now ...
Hope this information clear.
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Friday, January 20, 2006 8:10 PM
> To: plog-svn at devel.lifetype.net
> Subject: RE: [pLog-svn] r2823 - plog/trunk/class/dao/userdata
>
> Yes, it is included (after!) getUsersBlogs is called,
> and by then $status has already been set to
> 'BLOG_STATUS_ACTIVE' instead of 1.
> I will try to take a look at it today. I can get to
> the two cases by going to edit post and new post?
>
> On Fri, 20 Jan 2006, Mark Wu wrote:
>
> > I see, but take a look at getUsersBlogs()
> > /class/userdata/baseuserdataprovider.class.php
> >
> > No matter the blog.class.php include in
> adminmainaction.class.php, the
> > blog.class.php should include in method getUsersBlogs() ....
> >
> > function getUsersBlogs( $userid, $status = BLOG_STATUS_ALL )
> > {
> > include_once(
> PLOG_CLASS_PATH."class/dao/blogs.class.php" );
> > $usersBlogs = Array();
> > $blogs = new Blogs();
> > $ids = Array();
> > ....
> >
> > That's what ork suggest we just include the file when we
> need, instead
> > put them in front of all scripts ...
> >
> > That's what I said weird ... No idea yet..
> _______________________________________________
> 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