Download & Extend

t() function called incorrectly causes warnings

Project:Services
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.
AttachmentSizeStatusTest resultOperations
services_token_error.patch977 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» reviewed & tested by the community

looks good

#2

Status:reviewed & tested by the community» fixed

Committed thanks!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here