When I installed flag_friend and went to the "View All Friends" tab I would get the following warning:
Strict warning: Declaration of flag_friend_handler_argument_numeric::query() should be compatible with that of views_handler_argument_numeric::query() in require_once() (line 8 of ~/Projects/myproject/httpdocs/profiles/myprofile/modules/contrib/flag_friend/includes/flag_friend_handler_argument_numeric.inc).
I also have stict warning showing in PHP 5.3.
I've attached a patch which fixes this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1538688.3.StrictWarningQuery.patch | 541 bytes | socketwench |
| flag_friend_strict_warning_handler_argumetn_numeric_query.patch | 541 bytes | daveparrish |
Comments
Comment #1
Canton32 commentedIm having the same problem. Ive looked at the patch file but seems to have some santax errors. Please exscuse this newbes ignorance if im incorrect.
You help would be greatly appreciated.
Thanks in advance
Comment #3
socketwench commentedYeah... Really weird. It looks like a good patch. Let's try a reroll!
Comment #5
socketwench commentedWait, maybe Testbot doesn't like the version.
Comment #6
socketwench commented#3: 1538688.3.StrictWarningQuery.patch queued for re-testing.
Comment #7
socketwench commentedBingo!
So, the lesson here is *always* select the *-dev version, never the release version!
Committed!
http://drupalcode.org/project/flag_friend.git/commit/a248bdd
Comment #8
socketwench commented