Development

#2661 (sfPropelApprovableBehaviorPlugin, BasesfApprovableActions : Undefined $ret variable line 31 and line 45)

You must first sign up to be able to contribute.

Ticket #2661 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

sfPropelApprovableBehaviorPlugin, BasesfApprovableActions : Undefined $ret variable line 31 and line 45

Reported by: joran Assigned to: fabien
Priority: minor Milestone:
Component: plugins Version:
Keywords: sfPropelApprovableBehaviorPlugin BasesfApprovableActions Undefined variable Cc: Michael.Nolan
Qualification: Unreviewed

Description

In dev mode a notice is echoed between the redirect()

PHP Notice:  Undefined variable: ret in [...]/plugins/sfPropelApprovableBehaviorPlugin/modules/sfApprovable/lib/BasesfApprovableActions.class.php on line 31

PHP Notice:  Undefined variable: ret in [...]/plugins/sfPropelApprovableBehaviorPlugin/modules/sfApprovable/lib/BasesfApprovableActions.class.php on line 45

$ret should be defined with null value around line 13 for example.

Thanks for the plugin

Change History

12/12/07 16:46:29 changed by Michael.Nolan

  • status changed from new to closed.
  • resolution set to fixed.

(In [6484]) undeclared $ret gives notice (fixes #2661) Add package.xml back in