Skip to content

Commit

Permalink
* [FIX] Fixed API request error when user's preferences are not set. …
Browse files Browse the repository at this point in the history
…Thanks to @jtorresc for the feedback. Closes #290

* [MOD] Modified some css styles.
  • Loading branch information
nuxsmin authored and Rubén Domínguez committed Oct 2, 2016
1 parent d95e7cb commit f704bb0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/AccountSearch.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class AccountSearch
/**
* Constructor
*/
function __construct()
public function __construct()
{
$userResultsPerPage = Session::getUserPreferences()->getResultsPerPage();

Expand Down
1 change: 1 addition & 0 deletions inc/Api.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function __construct($actionId, $authToken, $userPass = null)
}
}

Session::setUserPreferences(UserPreferences::getPreferences($this->_userId));
Session::setUserId($this->_userId);
}

Expand Down
2 changes: 1 addition & 1 deletion inc/themes/material-blue/css/alertify-custom.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inc/themes/material-blue/css/material-custom.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f704bb0

Please sign in to comment.