diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-04-23 21:57:19 +0300 |
---|---|---|
committer | StyleCI Bot <bot@styleci.io> | 2018-04-23 21:57:19 +0300 |
commit | db74b1e71a8cf42d6c7ff8bd00b8984957765bf0 (patch) | |
tree | 40bded9e9af0c45c8674df0f7757887e9286b2d6 /src/controllers/SqlController.php | |
parent | 9538c5224f504c3d50af5ceb1e7589e612d06ccb (diff) |
Apply fixes from StyleCI
[ci skip] [skip ci]
Diffstat (limited to 'src/controllers/SqlController.php')
-rw-r--r-- | src/controllers/SqlController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/SqlController.php b/src/controllers/SqlController.php index 0ad4c5b7..e7a1a024 100644 --- a/src/controllers/SqlController.php +++ b/src/controllers/SqlController.php @@ -155,7 +155,7 @@ class SqlController extends BaseController break; case \PGSQL_COMMAND_OK: // If we have the command completion tag - if (version_compare(phpversion(), '4.3', '>=')) { + if (version_compare(PHP_VERSION, '4.3', '>=')) { echo htmlspecialchars(pg_result_status($rs, PGSQL_STATUS_STRING)), "<br/>\n"; } // Otherwise if any rows have been affected |