There was an error while loading. Please reload this page.
1 parent 12cd6ef commit 9ece8efCopy full SHA for 9ece8ef
1 file changed
src/Cloudinary.php
@@ -76,6 +76,9 @@ private static function generate_base_transformation($base_transformation) {
76
// Warning: $options are being destructively updated!
77
public static function generate_transformation_string(&$options=array()) {
78
$generate_base_transformation = "Cloudinary::generate_base_transformation";
79
+ if (is_string($options)) {
80
+ return $options;
81
+ }
82
if ($options == array_values($options)) {
83
return implode("/", array_map($generate_base_transformation, $options));
84
}
0 commit comments