Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

TOPIC: Notices on an undefined variable

Notices on an undefined variable 8 years 2 weeks ago #1628

Hi I'm getting multiple Notice lines in my output...

Notice: Undefined variable: target in /****/modules/mod_fpslideshow.php on line 463

If you select: Where should all links open? "Same window" in the Admin module then the target variable cannot be set as it has no option to be set.

In line 21...
if ($open_links) { $target = ' target="_blank"'; }

by adding...
else {  $target = ''; }

The problem goes away. Hope this helps others...
  • Total Messages: 143346 | Total Subjects: 38502
  • Total Sections: 6 | Total Categories: 48
  • Today Open: 2 | Yesterday Open: 4
  • Today Total Answer: 38 | Yesterday Total Answer: 11
Powered by Kunena Forum