MDL-14557 PostgreSQL+empty integer problem: user/editadvanced_form.php - credit goes to David Mudrak; merged from MOODLE_18_STABLE
MDL-14557 PostgreSQL+empty integer problem: user/editadvanced_form.php - credit goes to David Mudrak; merged from MOODLE_18_STABLE

dilawar/moodle