diff options
author | plegall <plg@piwigo.org> | 2010-05-23 23:31:58 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-05-23 23:31:58 +0000 |
commit | b7ed5e6af425e74077453846d66af3aab01a343b (patch) | |
tree | 8db22f76d6383d4824f341f667d8225f058ef319 /include/functions_comment.inc.php | |
parent | 0786ff3b79727c23650d167f33905a19f56e0c94 (diff) |
bug 1684 fixed: the test to check availability of the user_infos line was
wrong. I had changed the old db_num_rows > 0 because it was not working with
SQLite. As suggested by nicolas, let's use a simpler trick "count(1)" in the
query itself, this way it should work with any database engine.
I've also removed the while (true) (ugly infinite loop, with a condition for
exit) that was producing an infinite loop for Piwigo installations with 2.0
database model and 2.1 code (before launching upgrade.php)
git-svn-id: http://piwigo.org/svn/branches/2.1@6312 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_comment.inc.php')
0 files changed, 0 insertions, 0 deletions