From 6650916435cd55c637c97468a9003c01b0b7c704 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 6 Apr 2016 18:38:48 -0700 Subject: file sync testing --- include/attach.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/attach.php') diff --git a/include/attach.php b/include/attach.php index b6b56db34..aabcd2744 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1859,8 +1859,8 @@ function attach_export_data($channel,$resource_id) { intval($channel['channel_id']) ); if($r) { - foreach($r as $rr) { - $rr['data'] = base64_encode($rr['data']); + for($x = 0; $x < count($r); $x ++) { + $r[$x]['data'] = base64_encode($r[$x]['data']); } $ret['photo'] = $r; } -- cgit v1.2.3