Fix bug

http://www.dolibarr.org/forum/527-bugs-on-a-stable-version/22542-table-prefix-bug#22548