From 517d9b21108287f5c6cc346c2137bcf04e4699c3 Mon Sep 17 00:00:00 2001 From: ThemeLexus Date: Thu, 3 Oct 2019 11:31:02 +0700 Subject: [PATCH] uapte: --- inc/agency/class-opalestate-agency.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/agency/class-opalestate-agency.php b/inc/agency/class-opalestate-agency.php index bb73c90f..24140559 100755 --- a/inc/agency/class-opalestate-agency.php +++ b/inc/agency/class-opalestate-agency.php @@ -116,8 +116,8 @@ class OpalEstate_Agency { */ public static function get_avatar_url( $userID, $size='thumbnail' ) { - $id = get_post_meta( $userID, OPALESTATE_AGENCY_PREFIX . 'avatar_id', true );; - $url = wp_get_attachment_image_url( $id, $size ); + $id = get_post_meta( $userID, OPALESTATE_AGENCY_PREFIX . 'avatar_id', true ); + $url = wp_get_attachment_image_url( $id, $size ); if( $url ) { return $url;