[PATCH] use of undefined variable

Please report bugs here!

Moderator: Thorsten

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

[PATCH] use of undefined variable

Post by bram » Tue Aug 17, 2010 8:21 am

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.

Posts: 15072
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: [PATCH] use of undefined variable

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


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.

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply