# 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 @@ -191,6 +191,7 @@ ?> var errorMSG = ''; var iserror=0; + var gid = ''; if (cbDefaultFieldbackgroundColor === undefined) cbDefaultFieldbackgroundColor = ((me['username'].style.getPropertyValue) ? me['username'].style.getPropertyValue("backgroundColor") : me['username'].style.backgroundColor); fieldJS; ?> if (me['username'].value == "") { @@ -212,7 +213,12 @@ 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 + + gid = me['gid[]'].value; + + gid = me['gid'].value; + + if (gid == "") { \ No newline at end of file errorMSG += '' + "\n"; iserror=1; }