diff --git a/src/snapchat.php b/src/snapchat.php index 7382411..577a3e7 100644 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -1914,7 +1914,7 @@ function writeToFile($path, $data) $newFile = $path . $ext; rename($path, $newFile); - return $newFile + return $newFile; } else return false;