diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 15:46:26 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 15:46:26 -0500 |
commit | 4bc1e32a79c0928a079113c51f9cf9fcaf525a63 (patch) | |
tree | 00312c30100c6947859324c39d80b7fcafaf92f1 /includes/functions.php | |
parent | ad6ba256efd1a65fb1bb3951ae6b17b1593205b7 (diff) | |
download | bayonetcms-4bc1e32a79c0928a079113c51f9cf9fcaf525a63.tar.gz |
(OC) I cut down the calendar queries to just one which seems to work out a lot better.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@409 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'includes/functions.php')
-rw-r--r-- | includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions.php b/includes/functions.php index 8a965c1..46b92f3 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -596,7 +596,7 @@ function GetBlocks($position = BLOCK_LEFT) $result = $db->Query("SELECT * FROM `bayonet_blocks` WHERE `position` = '$position' AND `active` = 1 ORDER BY weight"); $blocks = $db->Fetch($result); - decho($blocks); + foreach($blocks as $block) { $load = 'blocks/'.$block['dir_name'].'/index.php'; |