4892: ContentDAO.isFieldsValid() return value should not be tied to $msg->containsErr...
authorTJ <acontent@iam.tj>
Thu, 20 Oct 2011 12:51:55 +0000 (13:51 +0100)
committerTJ <acontent@iam.tj>
Thu, 20 Oct 2011 13:42:01 +0000 (14:42 +0100)
commit65a008143af1d5faa7b918c053eb4f926383d80e
tree48cc269c108a4de02d7469277902d182473e39e7
parent5bc3ccae6847be29ad2e432c1a428807f681f2ff
4892: ContentDAO.isFieldsValid() return value should not be tied to $msg->containsErrors()

This function would erroneously return 'false' if the $msg array contained errors prior to
entry into the function. This sometimes caused unexplained IMS CC import failures when
inserting new lessons into the database.

Use a local return result to ensure accurate result.
include/classes/DAO/ContentDAO.class.php