Timeline for Redirect if userid is not found in a database table
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 18, 2019 at 13:34 | history | edited | Lodder | CC BY-SA 4.0 |
edited body
|
Jul 18, 2019 at 13:19 | comment | added | okisan |
It is my bad. Sorry, you are right. I had to change $joomlausers to $user->id and add $user = JFactory::getUser(); to the top
|
|
Jul 18, 2019 at 13:16 | vote | accept | okisan | ||
Jul 18, 2019 at 12:19 | comment | added | Lodder |
Is $joomlausers an instance of the JUser object? How are you defining this?
|
|
Jul 18, 2019 at 12:05 | comment | added | okisan | unfortunately it is not working. Even if id is exist still redirecting to the url | |
Jul 18, 2019 at 11:29 | history | answered | Lodder | CC BY-SA 4.0 |