diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 21:48:59 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 21:48:59 +0000 |
commit | 17dd401e94c682034b7f3d9164ac3523ab01d825 (patch) | |
tree | 2db9c9f54dcc2eea15560a499a29bb56da16d416 /inc | |
parent | 793c31f2960e132db444a6640c87d4fe5d8df49e (diff) | |
download | rpg-17dd401e94c682034b7f3d9164ac3523ab01d825.tar.gz rpg-17dd401e94c682034b7f3d9164ac3523ab01d825.tar.bz2 |
fix return by reference not a var
Diffstat (limited to 'inc')
-rw-r--r-- | inc/JpegMeta.php | 3 |
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; } /*************************************************************/ |