PHP Notice Undefined variable
-
Hi,
Please, can you fix this notice :
PHP Notice: Undefined variable: class in /wp-content/plugins/my-favorites/assets/shortcode-list.php on line 90
Add this code at the line 77 :
if ($atts['class']) { $class = 'class="' . $atts['class'] . '"'; } else { $class = null; }
Thank’s for your work
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice Undefined variable’ is closed to new replies.