Skip to content

Commit

Permalink
Merge pull request #14854 from Tithugues/fix/fix-wrong-case-in-functi…
Browse files Browse the repository at this point in the history
…on-names

Fix wrong case in function names
  • Loading branch information
MauricioFauth committed Jan 12, 2019
2 parents 9ed3d6e + 6358cd4 commit 5acaa56
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ajax.php
Expand Up @@ -20,7 +20,7 @@
require_once ROOT_PATH . 'libraries/common.inc.php'; require_once ROOT_PATH . 'libraries/common.inc.php';


$response = Response::getInstance(); $response = Response::getInstance();
$response->setAJAX(true); $response->setAjax(true);


if (empty($_POST['type'])) { if (empty($_POST['type'])) {
Core::fatalError(__('Bad type!')); Core::fatalError(__('Bad type!'));
Expand Down
2 changes: 1 addition & 1 deletion browse_foreigners.php
Expand Up @@ -78,4 +78,4 @@
isset($data) ? $data : '' isset($data) ? $data : ''
); );


$response->addHtml($html); $response->addHTML($html);
Expand Up @@ -96,12 +96,12 @@ public function indexAction()
/** /**
* Link templates * Link templates
*/ */
$this->response->addHtml($this->_getHtmlForLinkTemplates()); $this->response->addHTML($this->_getHtmlForLinkTemplates());


/** /**
* Displays the page * Displays the page
*/ */
$this->response->addHtml( $this->response->addHTML(
$this->_getHtmlForServerVariables($serverVars, $serverVarsSession) $this->_getHtmlForServerVariables($serverVars, $serverVarsSession)
); );
} else { } else {
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/Display/Results.php
Expand Up @@ -4041,7 +4041,7 @@ private function _getDataCellForNonNumericColumns(
$field_flags = $GLOBALS['dbi']->fieldFlags($dt_result, $col_index); $field_flags = $GLOBALS['dbi']->fieldFlags($dt_result, $col_index);


$bIsText = gettype($transformation_plugin) === 'object' $bIsText = gettype($transformation_plugin) === 'object'
&& strpos($transformation_plugin->getMIMEtype(), 'Text') && strpos($transformation_plugin->getMIMEType(), 'Text')
=== false; === false;


// disable inline grid editing // disable inline grid editing
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/InsertEdit.php
Expand Up @@ -188,7 +188,7 @@ private function showEmptyResultMessageOrSetUniqueCondition(
// No row returned // No row returned
if (! $rows[$key_id]) { if (! $rows[$key_id]) {
unset($rows[$key_id], $where_clause_array[$key_id]); unset($rows[$key_id], $where_clause_array[$key_id]);
Response::getInstance()->addHtml( Response::getInstance()->addHTML(
Util::getMessage( Util::getMessage(
__('MySQL returned an empty result set (i.e. zero rows).'), __('MySQL returned an empty result set (i.e. zero rows).'),
$local_query $local_query
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/Plugins/Import/ImportXml.php
Expand Up @@ -143,7 +143,7 @@ public function doImport(array &$sql_data = [])
/** /**
* Analyze the data in each table * Analyze the data in each table
*/ */
$namespaces = $xml->getNameSpaces(true); $namespaces = $xml->getNamespaces(true);


/** /**
* Get the database name, collation and charset * Get the database name, collation and charset
Expand Down

0 comments on commit 5acaa56

Please sign in to comment.