summaryrefslogtreecommitdiff
path: root/inc/JpegMeta.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-05 21:48:59 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-05 21:48:59 +0000
commit17dd401e94c682034b7f3d9164ac3523ab01d825 (patch)
tree2db9c9f54dcc2eea15560a499a29bb56da16d416 /inc/JpegMeta.php
parent793c31f2960e132db444a6640c87d4fe5d8df49e (diff)
downloadrpg-17dd401e94c682034b7f3d9164ac3523ab01d825.tar.gz
rpg-17dd401e94c682034b7f3d9164ac3523ab01d825.tar.bz2
fix return by reference not a var
Diffstat (limited to 'inc/JpegMeta.php')
-rw-r--r--inc/JpegMeta.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php
index cb1772736..a35ec3ed0 100644
--- a/inc/JpegMeta.php
+++ b/inc/JpegMeta.php
@@ -2929,7 +2929,8 @@ class JpegMeta {
$length = strlen($data) - $pos;
}
- return substr($data, $pos, $length);
+ $rv = substr($data, $pos, $length);
+ return $rv;
}
/*************************************************************/