Hi to all,
in function redirect_change_status_multiple() there is an error in watchdog parameters.
Now is this:

watchdog('redirect', 'Enabled redirect: !redirect_source_link', array('!redirect_link' => $redirect_link));

...

watchdog('redirect', 'Disabled redirect: !redirect_source_link', array('!redirect_link' => $redirect_link));

but it should be:

watchdog('redirect', 'Enabled redirect: !redirect_source_link', array('!redirect_source_link' => $redirect_link));

...

watchdog('redirect', 'Disabled redirect: !redirect_source_link', array('!redirect_source_link' => $redirect_link));

Have a nice day!

CommentFileSizeAuthor
#2 wrong_watchdog_parameters-2574593-2.patch974 byteskala4ek

Comments

eliosh created an issue. See original summary.

kala4ek’s picture

Version: 7.x-1.0-rc3 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new974 bytes

Hey, this patch should help.

  • Dave Reid committed add3c69 on 7.x-1.x authored by kala4ek
    Issue #2574593 by kala4ek: Fixed watchdog variables in...
dave reid’s picture

Status: Needs review » Fixed

Committed #2 to 7.x-2.x and 7.x-1.x.

  • Dave Reid committed cfe2e89 on 7.x-2.x authored by kala4ek
    Issue #2574593 by kala4ek: Fixed watchdog variables in...

Status: Fixed » Closed (fixed)

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

fox mulder’s picture

this error exists in current stable version ( 7.x-1.0-rc3 )

oadaeh’s picture

#2882637: watchdog typos in Enabled redirect: and Disabled redirect: is a duplicate of this.
The fix is still not in a tagged release.

alison’s picture

Patch worked great for me, Drupal 7.61, redirect 1.x-rc3, PHP 7.2.