[PATCH] use of undefined variable

Please report bugs here!

Moderator: Thorsten

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

[PATCH] use of undefined variable

Post by bram »

Attached is a patch to fix the use of an undefined variable:

Code: Select all

PHP notice:  Undefined variable: cat in category.translate.php on line 70
PHP notice:  Trying to get property of non-object in category.translate.php on line 70
This is a patch for 2.6.7 and not for the git head. (in the git head this is fixed differently.)
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: [PATCH] use of undefined variable

Post by Thorsten »

Hi,

thanks for the patch. I reviewed it and added to phpMyFAQ 2.6.7.

The category stuff is rewritten in phpMyFAQ 3.0.0-dev which is the master branch.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply