[pLog-svn] r2823 - plog/trunk/class/dao/userdata
Jon Daley
plogworld at jon.limedaley.com
Fri Jan 20 12:09:42 GMT 2006
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..
More information about the pLog-svn
mailing list