# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- administrator/components/com_comprofiler/plugin.foundation.php
+++ administrator/components/com_comprofiler/plugin.foundation.php
@@ -339,6 +339,8 @@
if ( ( $_CB_framework->getCfg( 'debug' ) > 0 ) && ( ob_get_length() || ( $_CB_framework->getCfg( 'debug' ) > 1 ) ) ) {
$outputBufferLength = ob_get_length();
+ $ticker = ( checkJversion() == 2 ? $_CB_database->_db->getTicker() : $_CB_database->_db->_ticker );
+ $log = ( checkJversion() == 2 ? $_CB_database->_db->getLog() : $_CB_database->_db->_log );
echo '
Site Debug mode: CB redirection';
if ( $message ) {
echo ' with ' . $messageType . ' "' . $message . '"';
@@ -352,9 +354,9 @@
. 'Click this link to proceed with the next page (in non-debug mode this is automatic): ';
echo '' . htmlspecialchars( $url ) . '
'; - foreach ( $_CB_database->_db->_log as $k => $sql ) { + foreach ( $log as $k => $sql ) { echo $k + 1 . "\n" . htmlspecialchars( $sql ) . '
'; } echo ''