bug 663: changed Unconditional Variable Assignment instead of if-condition for $showdetails