Call to exit()

kiamlaluno - June 2, 2008 - 01:40
Project:Go - url redirects
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

To call exit() in a menu callback is an error, in this case, especially because drupal_goto() gets called right before.

The patch included cleans also the code; Drupal coding standards require to use two spaces for indentation, without any tabs.

-- Kiam@AVPnet

AttachmentSize
gotwo_module.patch1.4 KB

#1

kiamlaluno - June 2, 2008 - 01:41
Status:active» needs review

#2

kiamlaluno - June 2, 2008 - 01:46
Version:5.x-1.3» 5.x-1.x-dev

The bug is also present in the version 5.x-1.x-dev. The patch should apply to both the versions.

#3

hass - August 17, 2009 - 22:56
Status:needs review» fixed

#4

System Message - August 31, 2009 - 23:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.