I can't use $thumb['pid']. I fix it. Please, fix next release CPG. I can't use $thumb['pid']. I fix it. Please, fix next release CPG.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

I can't use $thumb['pid']. I fix it. Please, fix next release CPG.

Started by Develar, May 03, 2006, 01:47:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Develar

I added line
$thumb_list[$i]['pid'] = $row['pid'];
on 1865 in functions.inc.php (function display_film_strip())
and now I can use $thumb['pid'] in function theme_display_film_strip() in my theme.
I hope, next release CPG will't contain this bug.

Abbas Ali

I won't call it a bug. 'pid' was not needed in theme_display_film_strip function and hence it was not added to $thumb array in functions.inc.php . You are modifying theme_display_film_strip as per your needs and you need 'pid' for your specific case. So how can this be called a bug?
Chief Geek at Ranium Systems