mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fixed a bug for modifying forms
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9265 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4cd7969a96
commit
88e59bc265
1 changed files with 2 additions and 2 deletions
|
|
@ -214,14 +214,14 @@
|
|||
$generatedHidden = '';
|
||||
foreach($resultArray AS $key=>$value)
|
||||
{
|
||||
$generatedHidden .= '<input type="hidden" name="'.$value.'" value="{$'.$value.'}">';
|
||||
$generatedHidden .= '<input type="hidden" name="'.$value.'" value="<?php echo $'.$value.' ?>">';
|
||||
}
|
||||
$matches[2] = $generatedHidden.$matches[2];
|
||||
}
|
||||
|
||||
// return url generate
|
||||
preg_match('/<input[^>]*name="error_return_url"[^>]*>/is', $matches[2], $m3);
|
||||
if(!$m3[0]) $matches[2] = '<input type="hidden" name="error_return_url" value="{getRequestUriByServerEnviroment()}" />'.$matches[2];
|
||||
if(!$m3[0]) $matches[2] = '<input type="hidden" name="error_return_url" value="<?php echo getRequestUriByServerEnviroment() ?>" />'.$matches[2];
|
||||
|
||||
$matches[0] = '';
|
||||
return implode($matches);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue