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

using registered object is impossible with multiline

 
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
sathio
Smarty n00b


Joined: 29 Jun 2012
Posts: 2

PostPosted: Fri Jun 29, 2012 9:46 am    Post subject: using registered object is impossible with multiline Reply with quote

Hi, I have assigned to the templates guy a way to display data, which is something similar to:

Code:
   {Widgets->Widget
         media='users'
         user='user'
         page=1
         sort='last_login'
         limit='25'
         tpl='user/friends_list.tpl'
         cache='0'
         pager=1
         div='follows_user'}

this is working on 3.1.7, however on 3.1.10 the list of arguments passed to the registered object is:
Code:

Array
(
    [         media] => users
    [         user] => user
    [         page] => 1
    [         sort] => last_login
    [         limit] => 25
    [         tpl] => user/friends_list.tpl
    [         cache] => 0
    [         pager] => 1
    [         div] => follows_user
)


it works normally if all the arguments are on the same line



Code:

   {Widgets->Widget media='users' user='user' page=1 sort='last_login' limit='25' tpl='user/friends_list.tpl' cache='0' pager=1 div='follows_user'}

Array
(
    [media] => users
    [user] => snake
    [page] => 1
    [sort] => last_login
    [limit] => 25
    [tpl] => user/friends_list.tpl
    [cache] => 0
    [pager] => 1
    [div] => follows_user
)
Back to top
View user's profile Send private message
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 674
Location: Germany, border to Switzerland

PostPosted: Fri Jun 29, 2012 10:20 am    Post subject: Reply with quote

This issue has already been fixed in SVN trunk.

Uwe, Monte: By the number of reports on this recently, I figure we should push 3.1.11 rather sooner than later.
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
sathio
Smarty n00b


Joined: 29 Jun 2012
Posts: 2

PostPosted: Fri Jul 06, 2012 10:04 am    Post subject: Reply with quote

thanks!
Back to top
View user's profile Send private message
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