Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Oct 7, 2015
1 parent d71bb28 commit 45fd319
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.1 #

Fixed a bug with isAjaxRequest()

# 1.1 #

`Alo::ifundefined()` added
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Latest release API documentation: [https://aloframework.github.io/common/](https

| dev-develop | Latest release |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------:|
| [![Dev Build Status](https://travis-ci.org/aloframework/common.svg?branch=develop)](https://travis-ci.org/aloframework/common) | [![Release Build Status](https://travis-ci.org/aloframework/common.svg?branch=1.1)](https://travis-ci.org/aloframework/common) |
| [![Dev Build Status](https://travis-ci.org/aloframework/common.svg?branch=develop)](https://travis-ci.org/aloframework/common) | [![Release Build Status](https://travis-ci.org/aloframework/common.svg?branch=1.1.1)](https://travis-ci.org/aloframework/common) |
| [![SensioLabsInsight](https://insight.sensiolabs.com/projects/2f980e0c-215e-4d11-8313-4d071b32b4fd/mini.png)](https://insight.sensiolabs.com/projects/2f980e0c-215e-4d11-8313-4d071b32b4fd) | [![SensioLabsInsight](https://i.imgur.com/KygqLtf.png)](https://insight.sensiolabs.com/projects/2f980e0c-215e-4d11-8313-4d071b32b4fd) |
2 changes: 1 addition & 1 deletion src/Alo.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ static function ifundefined($const, $planB) {
* @return bool
*/
static function isAjaxRequest() {
return strtolower(self::get($_SERVER['HTTP_X_REQUESTED_WITH'])) == 'xmlhttprequest';
return self::get($_SERVER['HTTP_X_REQUESTED_WITH']) == 'XMLHttpRequest';
}
}

0 comments on commit 45fd319

Please sign in to comment.