see patch

CommentFileSizeAuthor
ip_0.patch952 byteskilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

I'd suggest that we simply write 'ip' => ip_address().

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

killes@www.drop.org’s picture

Priority: Normal » Critical
Status: Fixed » Needs review

Dries omitted part of the patch...

Gábor Hojtsy’s picture

Status: Needs review » Fixed

Indeed, Dries did not notice that ip was used twice. Well, I did not notice it either, without closer inspection. So committed a fix to go to the original patch, which makes better reuse of the ip_address() output. Thanks for the note!

Anonymous’s picture

Status: Fixed » Closed (fixed)