diff --git a/sites/all/themes/contrib/mothership/mothership/functions/form.php b/sites/all/themes/contrib/mothership/mothership/functions/form.php
index 04d55a9..27eb1cc 100644
--- a/sites/all/themes/contrib/mothership/mothership/functions/form.php
+++ b/sites/all/themes/contrib/mothership/mothership/functions/form.php
@@ -73,7 +73,7 @@ function mothership_form_element($variables) {
   }
 
   //if the form element is reguired add a form-required class
-  if( $element['#required'] ) {
+  if (!empty($element['#required'])) {
     $attributes['class'][] = 'form-required';
   }
 
