no need to define ICONURL into cgiStyleDocsSample and wbError
Bug #544316 reported by
Xavier Brochard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Woda |
Confirmed
|
Low
|
Unassigned |
Bug Description
in cgiStyleDocsSample no need to hard coding ICONURL, it works perfectly without this line:
$ICONURL = "/icons/default"; # why is it hard encoded ?
in wbError ICONURL is further defined before call to printFoot()
$ICONURL = $ICONURL || '/icons/default';
Related branches
lp:~xavier/woda/4.620
- Woda: Pending requested
- Diff: 0 lines
Changed in woda: | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
On 23/03/2010, at 4:02 AM, Xavier Brochard wrote:
> Public bug reported:
>
> in cgiStyleDocsSample no need to hard coding ICONURL, it works perfectly without this line:
> $ICONURL = "/icons/default"; # why is it hard encoded ?
>
> in wbError ICONURL is further defined before call to printFoot()
> $ICONURL = $ICONURL || '/icons/default';
This code only ever worked on rent-a- database. com. It's probably a quick-fix that was never cleaned up.
Malcolm