web: MySQL 5.6 fixes

This commit is contained in:
David Anderson 2015-04-16 10:36:51 -07:00
parent 7a00aa4976
commit 65439286df
1 changed files with 4 additions and 0 deletions

View File

@ -287,6 +287,10 @@ function process_create_profile($user, $profile) {
." response1 = '".BoincDb::escape_string($response1)."'," ." response1 = '".BoincDb::escape_string($response1)."',"
." response2 = '".BoincDb::escape_string($response2)."'," ." response2 = '".BoincDb::escape_string($response2)."',"
." has_picture = '$hasPicture'," ." has_picture = '$hasPicture',"
." recommend=0, "
." reject=0, "
." posts=0, "
." uotd_time=0, "
." verification=0"; ." verification=0";
$result = BoincProfile::insert($query); $result = BoincProfile::insert($query);
if (!$result) { if (!$result) {