PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | Platforms/Zenfolio.php +5 -1 3.35 → 3.37 View file →
@@ -322,9 +322,9 @@
322 322 $zenfolio_params['loginName'] = $attr['login_name'];
323 323 break;
324 324
325 325 case 'group':
326 - if (empty($object_id)) {
326 + if (empty($attr['object_id'])) {
327 327 $this->pop_from_stack();
328 328 return [
329 329 new Error(
330 330 sprintf(esc_html__('The %s parameter is required.', 'photonic'), '<code>object_id</code>') .
@@ -331,8 +331,12 @@
331 331 Photonic::doc_link($this->doc_links['groups'])
332 332 )
333 333 ];
334 334 }
335 + else {
336 + $object_id = $attr['object_id'];
337 + }
338 +
335 339 $chained_methods[] = 'LoadGroup';
336 340 $f = stripos($object_id, 'f');
337 341 if (false !== $f) {
338 342 $object_id = substr($object_id, $f + 1);