bugfix in error_report.js

Signed-off-by: Umair Khan <omerjerk@gmail.com>

Fixing the previous pull request. 
https://github.com/phpmyadmin/phpmyadmin/pull/776