Security statements update against sql injection attacks.
[fa-stable.git] / gl / view / bank_transfer_view.php
index 318c93d0b396289cb40713a15d620f78970eb195..b656a644e8970d77cc6d6775b7fa20f69abc053e 100644 (file)
@@ -28,7 +28,7 @@ if (isset($_GET["trans_no"])){
 $result = get_bank_trans(systypes::bank_transfer(), $trans_no);
 
 if (db_num_rows($result) != 2)
-       display_db_error("Bank transfer does not contain two records", $sql);
+       display_db_error("Bank transfer does not contain two records");
 
 $trans1 = db_fetch($result);
 $trans2 = db_fetch($result);