Commit 180a7835 authored by Frank Bergmann's avatar Frank Bergmann

- Fixed export_vars brace vs. brackets

parent ff225b0e
...@@ -134,8 +134,8 @@ order by ...@@ -134,8 +134,8 @@ order by
</form> </form>
<ul> <ul>
<li> <li>
<a href=/intranet-timesheet2-invoices/price-lists/upload-prices?[export_url_vars company_id return_url]> <a href=/intranet-timesheet2-invoices/price-lists/upload-prices?[export_vars -url {company_id return_url}]>
[_ intranet-timesheet2-invoices.Upload_prices]</A> [_ intranet-timesheet2-invoices.Upload_prices]</A>
[_ intranet-timesheet2-invoices.lt_for_this_company_via_] [_ intranet-timesheet2-invoices.lt_for_this_company_via_]
<li> <li>
[_ intranet-timesheet2-invoices.lt_Check_this_sample_pra] [_ intranet-timesheet2-invoices.lt_Check_this_sample_pra]
......
...@@ -117,7 +117,7 @@ set end_idx [expr $start_idx + $how_many - 1] ...@@ -117,7 +117,7 @@ set end_idx [expr $start_idx + $how_many - 1]
if { ![empty_string_p $project_id] && $project_id != 0 } { if { ![empty_string_p $project_id] && $project_id != 0 } {
set invoice_currency $default_currency set invoice_currency $default_currency
ad_returnredirect "/intranet-timesheet2-invoices/invoices/new-2?select_project=$project_id&[export_url_vars target_cost_type_id invoice_currency]" ad_returnredirect "/intranet-timesheet2-invoices/invoices/new-2?select_project=$project_id&[export_vars -url {target_cost_type_id invoice_currency}]"
set page_body "" set page_body ""
return return
} }
......
...@@ -32,7 +32,7 @@ if {$return_url == ""} { ...@@ -32,7 +32,7 @@ if {$return_url == ""} {
# "Add New" button pressed? # "Add New" button pressed?
# => Redirect to new.tcl page # => Redirect to new.tcl page
if {"" != $add_new} { if {"" != $add_new} {
ad_returnredirect "new?[export_url_vars company_id return_url]" ad_returnredirect "new?[export_vars -url {company_id return_url}]"
return return
} }
......
...@@ -38,7 +38,7 @@ if ![regexp {([^//\\]+)$} $upload_file match company_filename] { ...@@ -38,7 +38,7 @@ if ![regexp {([^//\\]+)$} $upload_file match company_filename] {
if {[regexp {\.\.} $company_filename]} { if {[regexp {\.\.} $company_filename]} {
set error "<#_ Filename contains forbidden characters#>" set error "<#_ Filename contains forbidden characters#>"
ad_returnredirect "/error.tcl?[export_url_vars error]" ad_returnredirect "/error.tcl?[export_vars -url {error}]"
} }
if {![file readable $tmp_filename]} { if {![file readable $tmp_filename]} {
......
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