-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for empty media types #5924
Conversation
php 8.3beta, strict reporting Doing an add, save, edit, save, I get an error on the save.
|
not real sure what that has to do with the insert not being there. |
admin/media_types.php
Outdated
} | ||
$mType_parameter = ''; | ||
if (!$media_types->EOF) { | ||
$mType_parameter = '&mID=' . $mInfo->type_id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that $mInfo
still could be undefined here?
Ref line 87
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in looking at torvista's comment; perhaps. hopefully the new change addresses that.
Fixes zencart#5923 Admin > Extras > Media Types was fixed in zencart#5924, this PR fixes the remaining sub-menus `media_manager.php` may need a closer check as it's possible that I may have lost my way.
see #5923
addresses problems created by #5349
someone else can handle the other scripts.