Skip to content

Commit 0740954

Browse files
committed
Merge pull request joomla#74 from pjwiseman/patch-1
Update php.md. Fix concatenation spacing in SQL example.
2 parents f5e7995 + 60e038b commit 0740954

File tree

1 file changed

+1
-1
lines changed
  • manual/en-US/coding-standards/chapters

1 file changed

+1
-1
lines changed

manual/en-US/coding-standards/chapters/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ $query = $db->getQuery(true);
481481
// Build the query programatically (using chaining if desired).
482482
$query->select('u.*')
483483
// Use the qn alias for the quoteName method to quote table names.
484-
->from($db->qn('#__users').' AS u'));
484+
->from($db->qn('#__users') . ' AS u'));
485485

486486
// Tell the database connector what query to run.
487487
$db->setQuery($query);

0 commit comments

Comments
 (0)