# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/view/view.user.php +++ administrator/components/com_comprofiler/view/view.user.php @@ -212,7 +212,7 @@ if (me['password'].style.backgroundColor.slice(0,3)=="red") me['password'].style.backgroundColor = cbDefaultFieldbackgroundColor; if (me['password__verify'].style.backgroundColor.slice(0,3)=="red") me['password__verify'].style.backgroundColor = cbDefaultFieldbackgroundColor; } - if (me['gid'].value == "") { \ No newline at end of file + if (!$('input[name^=\"gid\"],select[name^=\"gid\"]').val()) { \ No newline at end of file errorMSG += '' + "\n"; iserror=1; }