# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\Users\peter.swietoslawski\Customers\Workday\html\cleandrupal\includes
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: form.inc
--- form.inc Base (BASE)
+++ form.inc Locally Modified (Based On LOCAL)
@@ -514,7 +514,12 @@
     if (function_exists($form_id .'_validate')) {
       $form['#validate'] = array($form_id .'_validate');
     }
+  } else {
+    if (function_exists($form_id .'_validate')) {
+      array_push($form['#validate'], $form_id .'_validate');
+
   }
+  }
     
   if (!isset($form['#submit'])) {
     if (function_exists($form_id .'_submit')) {
