PEAK XOOPS - Re: d3pipe (v0.68) includes extra code ... ? in englishin japanese

Re: d3pipe (v0.68) includes extra code ... ?

List posts in the topic

none Re: d3pipe (v0.68) includes extra code ... ?

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2009/8/23 16:04
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi viva.

Quote:

To say it concretely, there may be included code like this:
=>xoops_trust_path/modules/d3pipes/joints/block/D3pipesBlockBulletinlist.class.php
=>at line 30 or around
=>
(line29)4 => empty( $params[1] ) ? 10 : intval( $params[1] ) ,
(line30)4 => 0 ,

It must be a typo

The code should be:
		$this->block_options = array(
			'disable_renderer' => true ,
			0 => $this->target_dirname , // mydirname of bulletin
			1 => 'published DESC' , // order
			2 => empty( $params[1] ) ? 10 : intval( $params[1] ) , // entries
			3 => 255 , // max_entries
			4 => empty( $params[1] ) ? 10 : intval( $params[1] ) , // entries with body
		) ;

I've just fixed it, and this fixation will be included in the next release.

Thank you for reporting the bug!
Votes:8 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!