aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-05-23 23:43:43 +0000
committerplegall <plg@piwigo.org>2010-05-23 23:43:43 +0000
commit3181dded77150a39ff0ea853c5e379171e0272b2 (patch)
tree5a4a51f3b357724e90012500bee8075a62f8d086 /include/functions_html.inc.php
parent9bef83abe8f266ac0f2e7e367a1cb218aa247407 (diff)
merge r6312 from branch 2.1 to trunk
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/trunk@6315 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions