You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the code to avoid PHP warnings when the request parameter is missing. Now using the null coalescing operator (?? 0) to provide a default value, preventing undefined index errors. Also, removed the redundant empty check.
Updated the code to avoid PHP warnings when the request parameter is missing. Now using the null coalescing operator (
?? 0
) to provide a default value, preventing undefined index errors. Also, removed the redundant empty check.Ref: https://github.com/humanmade/smart-media/blob/master/inc/cropper/namespace.php#L560-L565
The text was updated successfully, but these errors were encountered: