Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Problems reading consecutive multiple-line configs

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
ilir
Smarty Rookie


Joined: 20 Apr 2003
Posts: 16
Location: NYC

PostPosted: Mon Mar 15, 2004 12:21 am    Post subject: Problems reading consecutive multiple-line configs Reply with quote

Smarty (2.6.1) has problems when there's an entry such as:
Quote:
MYline1 = """some long long long value comes in here, a very
long long long value comes in here"""
MYline2 = """some other long long long value value value comes in
here then"""


When you try to access MYline2 it will return a blank.

When I moved the line after a single-lined config var, it works fine.


Ilir.
_________________
The real problem is not whether machines think but whether men do.
- B. F. Skinner
Back to top
View user's profile Send private message MSN Messenger
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Mar 15, 2004 10:49 am    Post subject: Reply with quote

Please check your code against the latest version of Smarty (2.6.2 ATM)
or at least check the NEWS-file or the ChangeLog-file of the latest distribution before reporting a bug.

Thank you.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP