In JTable::store() there exists a use case where the $result variable, which should be a boolean and is used as such in observers, can be set as the database cursor object which introduces the potential for code to handle that variable incorrectly. This PR updates the $result variable to default to a true value and only in error conditions that already exist is when it gets set to false. We no longer catch the result of the JDatabaseDriver (insert/update)Object methods as well as it is unused.
I have tested this item successfully on 07505ee
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8062.