Development

#10021 (PHP reports a notice due to sfRoutingConfigHandler.class.php)

You must first sign up to be able to contribute.

Ticket #10021 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

PHP reports a notice due to sfRoutingConfigHandler.class.php

Reported by: meijuh Assigned to: fabien
Priority: minor Milestone:
Component: configuration Version: 1.4.x DEV
Keywords: sfRoutingConfigHandler notice Cc:
Qualification: Unreviewed

Description

PHP reports a notice in sfRoutingConfigHandler.class.php on line 98.

$params['url'] ? $params['url'] : '/',

should be

array_key_exists('url', $params) ? $params['url'] : '/',

This can be reproduced by creating a routing rule without an url field. And then create an url with url_for() .

Change History

05/30/12 09:42:44 changed by fabien

  • status changed from new to closed.
  • resolution set to invalid.
  • milestone deleted.

But the url field is mandatory.