News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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