[Koha-bugs] [Bug 16805] New: Log in with database admin user breaks OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 23 20:58:16 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16805

            Bug ID: 16805
           Summary: Log in with database admin user breaks OPAC
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: mtompset at hotmail.com
          Reporter: mtompset at hotmail.com
        QA Contact: testopia at bugs.koha-community.org

If a user attempts to log into the OPAC with the database admin account the
following is generated:

Software error:

DBD::mysql::st execute failed: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near '' at line 1 [for Statement "SELECT a.*, b.branchcode FROM alert a
JOIN borrowers b USING(borrowernumber) WHERE"] at
/home/mtompset/kohaclone/C4/Letters.pm line 331.
For help, please send mail to the webmaster (webmaster at ubuntu), giving this
error message and the time and date of the error.

A tweak to the SQL and a warning would be nice, much like the Intranet warns
those logging into the staff client with the database admin account.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list