[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Miniclick-devel] [bug #21362] reload query
From: |
Rakotomandimby Mihamina |
Subject: |
[Miniclick-devel] [bug #21362] reload query |
Date: |
Thu, 18 Oct 2007 15:10:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20071008 Ubuntu/7.10 (gutsy) Firefox/2.0.0.6 |
URL:
<http://savannah.nongnu.org/bugs/?21362>
Summary: reload query
Project: Miniclick
Submitted by: infogerance
Submitted on: Thursday 10/18/2007 at 15:10
Category: None
Severity: 4 - Important
Item Group: None
Status: In Progress
Privacy: Public
Assigned to: infogerance
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In this part if code,
if($this->db->db_num_rows($configs) == 0)
{
$this->generate_defaut_config();
}
while($config = $this->db->db_fetch_object($configs))
{...}
If we enter the if statement, we add a new config, and the result of the
query is still empty.
We should at least ask "generate_defaut_config();" to reload the query (which
should not be empty anymore) and then we can fetch the objects.
Otherwise, we are fetching an empty request's result.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21362>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Miniclick-devel] [bug #21362] reload query,
Rakotomandimby Mihamina <=