×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Small bug: Notice in CSV file

Small bug: Notice in CSV file 10 years 1 month ago #28130

  • Rob Swart
  • Rob Swart's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
Hi Yves,

When I download a CSV file, there is notice in the file:
"Notice: Undefined variable: csvdata in /home/vpcb/domains/vpcb.nl/private_html/components/com_matukio/views/printeventlist/tmpl/csv.php on line 62"

This is because you concat a variable wich is not yet declared.
Remove the "." (point) before the = in this statement:
$csvdata .= MatukioHelperUtilsEvents::generateCSVFile($backend, $this->cid, $this->bookings, $kurs);
and the notice is gone.

Greetz,
Rob

Small bug: Notice in CSV file 10 years 1 month ago #28131

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Rob,

thank you for the reporting - fixed it. Interesting never noticed it (and i have strict mode on..) and the code is almost unchanged since Seminar. :)

Kind regards

Yves
  • Page:
  • 1
Time to create page: 0.111 seconds