jemproject / JEM-Project

JEM - an Event Manager for Joomla
https://www.joomlaeventmanager.net
GNU General Public License v3.0
25 stars 37 forks source link

Fixed edit venue check-out bug #1665

Closed abradbury closed 11 months ago

abradbury commented 1 year ago

A user of our website reported seeing the following error message when viewing a page powered by JEM:

Error 0 Joomla\CMS\User\UserFactory::loadUserById(): Argument 1 ($id) must be of type int, null given, called in /.../components/com_jem/classes/output.class.php on line 470

I could not reproduce the error, but it seemed to be fixed after running the global check-in task in the back-end. Looking at the referenced line of code, I spotted that perhaps $item->checked_out should in fact be $item->vChecked_out, as the latter is checked in the enclosing conditional.

Heklaterriol commented 11 months ago

I commit it to the JEM-4.1.1-dev branch. Thank you!