[PATCH] Silence warnings in admin/record_edit.php

Please report bugs here!

Moderator: Thorsten

Post Reply
bram
Posts: 19
Joined: Mon Aug 16, 2010 12:54 pm

[PATCH] Silence warnings in admin/record_edit.php

Post by bram » Mon Aug 16, 2010 4:46 pm

Currently admin/record_edit.php generated warnings in some conditions:
- Undefined offset: XXX in record.edit.php on line 329
- Undefined offset: XXX in record.edit.php on line 354


Attached is patch that silence the warnings (0005-Silence-warnings.patch).
NOTE: this patch was originally written on 2.6.7. It is untested on the git HEAD.
You do not have the required permissions to view the files attached to this post.

Thorsten
Posts: 14764
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: [PATCH] Silence warnings in admin/record_edit.php

Post by Thorsten » Tue Aug 17, 2010 7:08 pm

Hi,

thanks for the patch. I guess it was written for the new 3.0 codebase because it looked like that. I added for 2.6.8, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply