//fixed bug update form
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9041 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -75,8 +75,9 @@
|
||||
</script>
|
||||
|
||||
<form action="{$tab_form['current']}&submitAdd{$tab_form['table']}=1&token={$tab_form['token']}" method="post">
|
||||
{if $tab_form['id']}<input type="hidden" name="id_'.$this->table.'" value="'.$obj->id.'" />{/if}
|
||||
<fieldset><legend>{l s ='Shop Url'}</legend>
|
||||
{if $tab_form['id']}<input type="hidden" name="id_{$tab_form['table']}" value="{$tab_form['id']}" />{/if}
|
||||
<fieldset>
|
||||
<legend>{l s ='Shop Url'}</legend>
|
||||
<label for="domain">{l s ='Domain'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="domain" id="domain" value="{$tab_form['domain']}" />
|
||||
|
||||
@@ -64,7 +64,6 @@ class AdminShopUrlControllerCore extends AdminController
|
||||
|
||||
public function postProcess()
|
||||
{
|
||||
info($this->action);
|
||||
$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
|
||||
if (Tools::isSubmit('submitAdd'.$this->table))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user