Related to bug 13727 It is possible for the report selectors <<...|branch>> <<...|[authorised value]>> <<...|itemtypes>> ... etc. To insert SQL keywords into the SQL of a report, causing a software error when the report runs, because Koha will now allow SQL reserved words in the queries. To replicate: Create a branch with the branch code 'CREATE' Then create a report using the following query: SELECT * FROM items WHERE items.homebranch = <<Branch|branch>> Run the report, and select the branch with branchcode 'CREATE'. This will cause a software error. There is no way around this (because we *don't* want to allow SQL reserved words to be injected by user input). Therefore we *must* restrict the use of SQL reserved words on branch/authorized value/itemtype creation.