//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:
lLefevre committed 2011-10-05 08:17:51 +00:00
1 parent 22d2088e69
commit 1c6dae34d1
2 files changed
+3 -3

No files matched your search

+3 -2
View File
@@ -75,8 +75,9 @@
</script> </script>
<form action="{$tab_form['current']}&submitAdd{$tab_form['table']}=1&token={$tab_form['token']}" method="post"> <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} {if $tab_form['id']}<input type="hidden" name="id_{$tab_form['table']}" value="{$tab_form['id']}" />{/if}
<fieldset><legend>{l s ='Shop Url'}</legend> <fieldset>
<legend>{l s ='Shop Url'}</legend>
<label for="domain">{l s ='Domain'}</label> <label for="domain">{l s ='Domain'}</label>
<div class="margin-form"> <div class="margin-form">
<input type="text" name="domain" id="domain" value="{$tab_form['domain']}" /> <input type="text" name="domain" id="domain" value="{$tab_form['domain']}" />
@@ -64,7 +64,6 @@ class AdminShopUrlControllerCore extends AdminController
public function postProcess() public function postProcess()
{ {
info($this->action);
$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token; $token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
if (Tools::isSubmit('submitAdd'.$this->table)) if (Tools::isSubmit('submitAdd'.$this->table))
{ {