From: Steve Sutton Date: Thu, 13 Apr 2017 13:26:13 +0000 (-0400) Subject: Remove debug print_r X-Git-Tag: v2.9.15^2~31 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ff88bd709ffa4df6ab496efabf7d8c5ef01766a9;p=WP-Plugins%2Fglm-member-db.git Remove debug print_r Removing the print_r call to check for correct member info id. --- diff --git a/models/front/members/detail.php b/models/front/members/detail.php index 5786bd64..ebd92970 100644 --- a/models/front/members/detail.php +++ b/models/front/members/detail.php @@ -265,7 +265,6 @@ class GlmMembersFront_members_detail extends GlmDataMemberInfo $profileId = get_query_var('profile', ''); if ( $profileId = filter_var( $profileId, FILTER_VALIDATE_INT ) ) { - echo '
$profileId: ' . print_r( $profileId, true ) . '
'; $memberData = $this->getEntry( $profileId ); } else { // Find the active member info record and get it with main member data @@ -299,7 +298,7 @@ class GlmMembersFront_members_detail extends GlmDataMemberInfo require_once GLM_MEMBERS_PLUGIN_CLASS_PATH.'/data/dataImages.php'; $Images = new GlmDataImages($this->wpdb, $this->config); $imageGallery = $Images->getGallery($this->config['ref_type_numb']['MemberInfo'], $memberData['id']); - + // Also, if this is not a create, get any files require_once GLM_MEMBERS_PLUGIN_CLASS_PATH . '/data/dataFiles.php'; $Files = new GlmDataFiles( $this->wpdb, $this->config );