aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-05-23 23:31:58 +0000
committerplegall <plg@piwigo.org>2010-05-23 23:31:58 +0000
commitb7ed5e6af425e74077453846d66af3aab01a343b (patch)
tree8db22f76d6383d4824f341f667d8225f058ef319 /include/page_header.php
parent0786ff3b79727c23650d167f33905a19f56e0c94 (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/page_header.php')
0 files changed, 0 insertions, 0 deletions