Skip to content

Commit d450c37

Browse files
committed
update column name in query
1 parent 5602571 commit d450c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class.database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static function newItemEvent($data){
123123
Pre-Populate Form with Current Account Details
124124
*/
125125
public static function getCurrentAccountDetails($id){
126-
$q = 'SELECT fname, lname, email, addr_line1, addr_line2, city, state, zip, phone FROM user WHERE id ='.$id;
126+
$q = 'SELECT fname, lname, email, addr_line_1, addr_line_2, city, state, zip, phone FROM user WHERE id ='.$id;
127127
return DatabaseConnector::query($q);
128128
}
129129

0 commit comments

Comments
 (0)