Hello Everyone,
I am using SafeCracker to bring the entry edit forms to the front-end of a site I’m developing, but I am running into a bit of an issue that I’m hoping I could get some help with. When I do the following check to see if the author ID matches the currently logged in member id
{if author_id == logged_in_member_id}I receive this PHP Error when I view the page as the author of the entry:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant TRUEFALSE - assumed ‘TRUEFALSE’
Filename: libraries/Functions.php(650) : eval()‘d code
Line Number: 9
I’m not sure why this is happening, so any help would be very much appreciated.
Thank you!