Unused form_name variable

apmuthu wrote on Monday, April 22, 2013:

Line 33 in interface\orders\procedure_provider_list.php:

$form_name = trim($_POST[‘form_name’]);

seems to be unused and there seem to be no includes after it that may use it.

It is needlessly generating errors like:

PHP Notice: Undefined index: form_name in /var/www/openemr/interface/orders/procedure_provider_list.php on line 33, referer: http://openemr.example.com/interface/main/left_nav.php

sunsetsystems wrote on Monday, April 22, 2013:

Thanks for noticing this, I’ll remove it.

Rod
http://www.sunsetsystems.com/

apmuthu wrote on Wednesday, April 24, 2013:

Updated my GitHub Repo at: