Commit 4bae4efd authored by Sarun Mungthanya's avatar Sarun Mungthanya
Browse files

issue update patch exchangerate

parent 9ebb4391
......@@ -292,7 +292,7 @@ class ExchangerateUpload extends Component
$patchFiles = DB::table('tab_patch_file')->where('ptid', $next_PID)->get();
$PATCHCODE_SERVER = "$"."a=1;\nQuery2Array(\"select * from tab_patch_file where ptid='".$next_PID."'\");\nfor("."$"."i=0;"."$"."i<count("."$"."fid);"."$"."i++){\n"."$"."{'file_name_'."."$"."i}="."$"."file_name["."$"."i];\n"."$"."{'file_data_'."."$"."i}="."$"."file_data["."$"."i];\n}\n"."$"."max=count("."$"."fid);";
$PATCHCODE_SERVER=str_replace("'","''",$PATCHCODE_SERVER);
// $PATCHCODE_SERVER=str_replace("'","''",$PATCHCODE_SERVER);
$PATCHCODE_SERVER=str_replace("\\","\\\\",$PATCHCODE_SERVER);
$arr_cur_str = "[".implode(",",$array_cur)."]";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment