Sécurisation paramètres
This commit is contained in:
parent
5794d2c84a
commit
bbc88f57f5
10 changed files with 37 additions and 16 deletions
|
|
@ -35,8 +35,10 @@
|
|||
{{else}}
|
||||
{{if $_GET.prop == -1}}
|
||||
{{:assign selected_prop=null}}
|
||||
{{else}}
|
||||
{{elseif $_GET.prop == 1 || $_GET.prop == 0}}
|
||||
{{:assign selected_prop=$_GET.prop}}
|
||||
{{else}}
|
||||
{{:assign selected_prop=$user_filters.stock_prop}}
|
||||
{{/if}}
|
||||
{{:assign var="user_filters.stock_prop" value=$selected_prop}}
|
||||
{{:assign var="saved_filters.%s"|args:$logged_user.id value=$user_filters}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue