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.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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