Skip to content

Commit d762f9d

Browse files
committed
Fix E_NOTICE error with UserProfile library
1 parent 258f904 commit d762f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/UserProfile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getWebsite() {
9090
}
9191

9292
protected static function normalize(StdClass &$data) {
93-
$data->id = (int) $data->id;
93+
$data->user_id = (int) $data->user_id;
9494

9595
if (!is_null($data->biography))
9696
$data->biography = (string) $data->biography;

0 commit comments

Comments
 (0)