Smarty-warning prints even if Smarty works

Bug #916268 reported by Mathias Bøhn Grytemark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lancms
Fix Released
Medium
Mathias Bøhn Grytemark

Bug Description

The warning "Could not display smarty. Are you sure you have write-access to the tmp/template*-folders?"
is printed even if Smarty works.

This is because the Smarty->display()-function never returns true.

Related branches

Changed in lancms:
status: In Progress → Fix Committed
Revision history for this message
Mathias Bøhn Grytemark (mboehn) wrote :

Replaced "$smarty->display() or die()" with "$fetch = $smarty->fetch(); if (empty($fetch)) die();"

Revision history for this message
Mathias Bøhn Grytemark (mboehn) wrote :

+ print ($fetch);

Changed in lancms:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.