FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Quirk while upgrading from 2.6.0 to 2.6.14
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Quirk while upgrading from 2.6.0 to 2.6.14 [message #26258 is a reply to message #26225] Tue, 12 July 2005 10:06 Go to previous messageGo to previous message
fritti is currently offline  fritti   Netherlands
Messages: 7
Registered: July 2005
Karma:
Junior Member
And as a last message: change line 306 of src/db_all.inc.t to the following to fix the problem the right way:

                $f[] = array_shift($v);


so it looks like this:

function db_all($q)
{
        if (function_exists('pg_fetch_all_columns')) {
                return pg_fetch_all_columns(q($q));
        }

        if (!($r = pg_fetch_all(q($q)))) {
                return array();
        }
        $f = array();
        foreach ($r as $v) {
                $f[] = array_shift($v);
        }
        return $f;
}

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: phpBB2 converter does not work
Next Topic: fudapi.inc.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 17:01:39 GMT 2024

Total time taken to generate the page: 0.05175 seconds