summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class')
-rw-r--r--lib/class/browse.class.php4
-rw-r--r--lib/class/dba.class.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index 2e65a783..ae82d271 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -619,6 +619,8 @@ class Browse {
${$class_name} = new $class_name($id);
}
+ Ajax::start_container('browse_content');
+
// Switch on the type of browsing we're doing
switch ($_SESSION['browse']['type']) {
case 'song':
@@ -676,6 +678,8 @@ class Browse {
break;
} // end switch on type
+ Ajax::end_container();
+
} // show_object
/**
diff --git a/lib/class/dba.class.php b/lib/class/dba.class.php
index 3facabd3..3a348a46 100644
--- a/lib/class/dba.class.php
+++ b/lib/class/dba.class.php
@@ -56,6 +56,7 @@ class Dba {
// Run the query
$resource = mysql_query($sql,self::dbh());
+ debug_event('Query',$sql,'6');
// Save the query, to make debug easier
self::$_sql = $sql;
@@ -85,7 +86,6 @@ class Dba {
public static function fetch_assoc($resource) {
$result = mysql_fetch_assoc($resource);
- debug_event('Assoc',self::$_sql,'6');
if (!$result) {
return array();