t() function called incorrectly causes warnings
quicksketch - October 29, 2009 - 02:27
| Project: | Services |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is a simple patch that fixes a misplaced parenthesis in services_keyauth.inc. Every time the error triggers it causes the following warnings:
* warning: Invalid argument supplied for foreach() in /Users/nate/Sites/drupal6/includes/common.inc on line 888.
* warning: strtr() [function.strtr]: The second argument is not an array in /Users/nate/Sites/drupal6/includes/common.inc on line 905.| Attachment | Size |
|---|---|
| services_token_error.patch | 977 bytes |

#1
looks good
#2
Committed thanks!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.