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:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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