PacketFence - BTS - PacketFence
View Issue Details
0001358PacketFenceaddonspublic2012-01-05 11:302012-02-28 14:31
maikel 
obilodeau 
highcrashalways
closedfixed 
3.1.0 
3.2.03.2.0 
f785f7cfa0dce885ddf6c05c45d0305aed5bc52f
0001358: web/custom.pm
Code example to redefine functions is bit offset due to perl strict mode:
$pf::web::guest::EMAIL_CC = "helpdesk@initech.com";
will fail:
perl /usr/local/pf/lib/pf/web/captiveportal_modperl_require.pl
Possible unintended interpolation of @initech in string at
        /usr/local/pf/lib/pf/web/custom.pm line 85, <DATA> line 522 (0000001)
    (W ambiguous) You said something like `@foo' in a double-quoted string
    but there was no array @foo in scope at the time. If you wanted a
    literal @foo, then write it as \@foo; otherwise find out what happened
    to the array you apparently lost track of.


single quoted it does work:
$pf::web::guest::EMAIL_CC = 'helpdesk@initech.com';
No tags attached.
Issue History
2012-01-05 11:30maikelNew Issue
2012-01-05 15:06obilodeauStatusnew => assigned
2012-01-05 15:06obilodeauAssigned To => obilodeau
2012-01-05 15:07obilodeauNote Added: 0002513
2012-01-05 15:07obilodeauPrioritynormal => high
2012-01-05 15:07obilodeauProduct Versiontrunk => 3.1.0
2012-01-05 15:07obilodeauFixed in Version => +1
2012-01-09 12:56obilodeaumtn revision => f785f7cfa0dce885ddf6c05c45d0305aed5bc52f
2012-01-09 12:56obilodeauNote Added: 0002520
2012-01-09 12:56obilodeauStatusassigned => resolved
2012-01-09 12:56obilodeauFixed in Version+1 => trunk
2012-01-09 12:56obilodeauResolutionopen => fixed
2012-02-28 14:22obilodeauTarget Version => 3.2.0
2012-02-28 14:22obilodeauFixed in Versiontrunk => 3.2.0
2012-02-28 14:31obilodeauNote Added: 0002589
2012-02-28 14:31obilodeauStatusresolved => closed

Notes
(0002513)
obilodeau   
2012-01-05 15:07   
good catch!
(0002520)
obilodeau   
2012-01-09 12:56   
fixed in trunk
(0002589)
obilodeau   
2012-02-28 14:31   
Fixed in recently released 3.2.0.