archonproject/archon — pull request #4 by gjerdery (2012-07-10 15:24:00+00:00)
Title: Fix to Contact Us forms

This fix checks if $arrDetails is !empty to avoid passing an empty array if there are no items in the cart. If not, it follows the original foreach statement. If it is empty, it calls sendEmail directly, without passing any RepositoryID information.