Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Sánchez authored and mikeho committed Dec 20, 2010
1 parent 308d170 commit ef08790
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions includes/qcodo/_core/qform/QDataGridBase.class.php
Expand Up @@ -589,10 +589,8 @@ protected function GetControlHtml() {

// Display the "NoHtml" if no data
if (!$this->objDataSource || !count($this->objDataSource)) {
$strToReturn = sprintf('<p id="%s" %s%s>%s</p>',
$strToReturn = sprintf('<p id="%s">%s</p>',
$this->strControlId,
$this->GetAttributes(),
$strStyle,
$this->strNoDataHtml);

} else {
Expand Down

0 comments on commit ef08790

Please sign in to comment.