Development

#2937 (sfMDB2RestPlugin Typo)

You must first sign up to be able to contribute.

Ticket #2937 (new defect)

Opened 5 months ago

Last modified 5 months ago

sfMDB2RestPlugin Typo

Reported by: Markus.Staab Assigned to: Josh.Reynolds
Priority: minor Milestone:
Component: plugins Version:
Keywords: sfMDB2RestPlugin Cc:
Qualification: Unreviewed

Description

since r7486 transaction error are thrown with an exception, but there is a little typo in the code

it is

throw new Exception(print_r($results['transaction_errors']));

but should be

throw new Exception(print_r($results['transaction_errors'], true));

the second param is missing and so the string is printed out instead of returned..

Change History

02/14/08 17:27:58 changed by Markus.Staab

  • keywords set to sfMDB2RestPlugin.
  • owner changed from fabien to Josh.Reynolds.

02/23/08 04:29:59 changed by Carl.Vondrick

  • component changed from other to plugins.