Skip to content

Commit

Permalink
travis fix
Browse files Browse the repository at this point in the history
Multi-line IF statement not indented correctly; expected  spaces but found 4
  • Loading branch information
alikon committed Jun 14, 2015
1 parent 43f8f80 commit f3687b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/database/driver/sqlsrv.php
Expand Up @@ -496,8 +496,8 @@ public function insertObject($table, &$object, $key = null)
* for evade error "Cannot insert the value NULL into column 'XXX',
* table 'XXX'; column does not allow nulls.
*/
if (!in_array($this->quoteName($key_field), $fields) && $value_field->Null == "NO"
&& ((is_array($key) && !in_array($key_field, $key)) || (!is_array($key) && $key_field != $key)))
if (!in_array($this->quoteName($key_field), $fields) && $value_field->Null == "NO"
&& ((is_array($key) && !in_array($key_field, $key)) || (!is_array($key) && $key_field != $key)))
{
$fixed = null;
if (gettype($value_field->Default) !== null)
Expand Down

0 comments on commit f3687b7

Please sign in to comment.