Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

319
 
320
 
320
 
boxes.php
_> 3333         $Qspecific->bindTable(':table_templates_boxes', TABLE_TEMPLATES_BOXES);
  3434         $Qspecific->bindTable(':table_templates', TABLE_TEMPLATES);
  3535         $Qspecific->bindInt(':templates_id', 1);
<> 36 -        $Qspecific->bindRaw(':content_page', '"*", "' . $osC_Template->getGroup() . '/*", "' . $osC_Template->getGroup() . '/' . $osC_Template->getPageContentsFilename() . '"');
   36+        $Qspecific->bindRaw(':content_page', '"*", "' . $osC_Template->getGroup() . '/*", "' . $osC_Template->getGroup() . '/' . substr($osC_Template->getPageContentsFilename(), 0, strrpos($osC_Template->getPageContentsFilename(), '.')) . '"');
3737         $Qspecific->execute();
  3838 
  3939         if ($Qspecific->numberOfRows()) {
     
 !
4646           $Qboxes->bindTable(':table_templates_boxes', TABLE_TEMPLATES_BOXES);
  4747           $Qboxes->bindTable(':table_templates', TABLE_TEMPLATES);
  4848           $Qboxes->bindInt(':templates_id', 1);
<> 49 -          $Qboxes->bindRaw(':content_page', '"*", "' . $osC_Template->getGroup() . '/*", "' . $osC_Template->getGroup() . '/' . $osC_Template->getPageContentsFilename() . '"');
   49+          $Qboxes->bindRaw(':content_page', '"*", "' . $osC_Template->getGroup() . '/*", "' . $osC_Template->getGroup() . '/' . substr($osC_Template->getPageContentsFilename(), 0, strrpos($osC_Template->getPageContentsFilename(), '.')) . '"');
<_ 5050           $Qboxes->execute();
  5151 
  5252           while ($Qboxes->next()) {