Bug report: Warning: implode() with Switch image

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug report: Warning: implode() with Switch image

Post by Jan »

Hi, I don't understand how you can get the error if you didn't set the JAK

So if you didn't set the jak: (detail = 6 and it is not set in components parameters)
if ( $tmpl['detailwindow'] == 6 ) {
your code cannot access the array.

But I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49134
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Bug report: Warning: implode() with Switch image

Post by Jan »

Did you add the second code (list of images)
with method = 6 (JAK)?

{phocagallery view=category|categoryid=1|limitstart=0|limitcount=5|detail=6|enableswitch=1}

In the first example the detail=6 is missing, which means there cannot be displayed any images because they were not added to the array.
If you find Phoca extensions useful, please support the project
Post Reply