Commit ca602264 authored by Frank Bergmann's avatar Frank Bergmann

- Fixed export_vars brace vs. brackets

parent f06b9916
......@@ -1070,7 +1070,7 @@ ad_proc im_costs_base_component {
append cost_html "
<tr$bgcolor([expr $ctr % 2])>
<td colspan=$colspan>
<a href=\"/intranet-cost/list?[export_url_vars status_id company_id project_id]\">
<a href=\"/intranet-cost/list?[export_vars -url { status_id company_id project_id}]\">
[_ intranet-cost.more_costs]
</a>
</td>
......
......@@ -156,7 +156,7 @@ append left_navbar_html "
<div class='filter-block'>
<div class='filter-title'>#intranet-cost.AdminCostCenter#</div>
<ul>
<li><a href=new?[export_url_vars return_url]>[lang::message::lookup "" intranet-cost.CreateNewCostCenter "Create new Cost Center"]</a</li>
<li><a href=new?[export_vars -url { return_url}]>[lang::message::lookup "" intranet-cost.CreateNewCostCenter "Create new Cost Center"]</a</li>
</ul>
</div>
"
......@@ -95,7 +95,7 @@ where start_block >= rc.start_date
db_foreach all_start_blocks $all_start_blocks_sql {
set key "$rep_cost_id:$start_block"
# Fill the field with a link to create a new cost item
set blocks($key) "<a href='$cost_create_url?[export_url_vars rep_cost_id start_block return_url]'>([_ intranet-cost.create])</a>"
set blocks($key) "<a href='$cost_create_url?[export_vars -url { rep_cost_id start_block return_url}]'>([_ intranet-cost.create])</a>"
ns_log Notice "/intranet-cos/rep-costs/index: key=$key"
}
......
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