3.3. From 1.2.1 to 1.2.2

  1. If you are using an ORACLE backend, add the following function to dbx_connect.php:

    /**
     * Escape a string for a database query.
     * @param $strString String that should be escaped.
     * Returns the string escaped by dbx_escape_string().
     */
    function bmfo_escape_string($strString) {
      GLOBAL $rdbms;
      return dbx_escape_string($rdbms, $strString);
    } 

    If you are using an PostgreSQL backend, add the following function to dbx_connect.php:

    /**
     * Escape a string for a database query.
     * @param $strString String that should be escaped.
     * Returns the string escaped by pg_escape_string().
     */
    function bmfo_escape_string($strString) {
      return pg_escape_string($strString);
    }
  2. Run the BMFO installer and select the "BMFO" and "Update" components.

  3. Update the Servlet.