|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
sathio Smarty n00b
Joined: 29 Jun 2012 Posts: 2
|
Posted: Fri Jun 29, 2012 9:46 am Post subject: using registered object is impossible with multiline |
|
|
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 |
|
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
Posted: Fri Jun 29, 2012 10:20 am Post subject: |
|
|
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 |
|
sathio Smarty n00b
Joined: 29 Jun 2012 Posts: 2
|
Posted: Fri Jul 06, 2012 10:04 am Post subject: |
|
|
thanks! |
|
Back to top |
|
|
|
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
|