diff options
Diffstat (limited to 'admin/functions.php')
-rw-r--r-- | admin/functions.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/functions.php b/admin/functions.php index 07bc20b..9b950c4 100644 --- a/admin/functions.php +++ b/admin/functions.php @@ -526,12 +526,7 @@ function GetBlocks($position = BLOCK_LEFT) $db->Select_db($config['sql']['database']);
$result = $db->Query("SELECT * FROM `bayonet_blocks` ORDER BY weight, position");
- //$result = mysql_query("SELECT * FROM bayonet_blocks ORDER BY weight, position");
- while(($row = $db->Fetch($result))!==false)
- {
- $blocks[] = $row;
- }
- $db->Free($result);
+ $blocks = $db->Fetch($result);
foreach($blocks as $block)
{
|