Tiny fix to avoid PHP notice in extension

Add isset() check for variable in mooaccordion.php for J2.x version of
extension