Add Gravatar profile image

This commit is contained in:
2021-01-22 15:52:43 +01:00
parent 4eb158d60c
commit 1480545f1b
5 changed files with 20 additions and 8 deletions

View File

@@ -361,7 +361,9 @@ class Spot extends Main
private function getPosts()
{
$asInfo = array(
'select' => array(Db::getFullColumnName(self::POST_TABLE, '*'), 'MD5(email) AS email_hash'),
'from' => self::POST_TABLE,
'join' => array(User::USER_TABLE => Db::getId(User::USER_TABLE)),
'constraint'=> array(Db::getId(Project::PROJ_TABLE) => $this->oProject->getProjectId()),
'constOpe' => array(Db::getId(Project::PROJ_TABLE) => "=")
);