pdfreport application crashes when search is activated?

When activating the search feature in the PDF Application the following error appears when the app is run.

PHP Parse error: syntax error, unexpected ‘)’, expecting variable (T_VARIABLE) or ‘$’ in C:\inetpub\wwwroot\scriptcase8\app\BYOB_Order_App\pdfreport_tb_byob_orders\pdfreport_tb_byob_orders_pesq.class.php on line 2055

Any ideas?