Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct invocation of user_pref_get() with incorrect number of arguments

Conflicts:
	library/adodb
	library/phpmailer
  • Loading branch information...
commit 7732085e65a50b3e46ae07705eb9ce08e9652d01 1 parent ac4c089
Rasmus Lerdorf rlerdorf authored rombert committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/helper_api.php
2  core/helper_api.php
View
@@ -325,7 +325,7 @@ function helper_get_current_project() {
$t_project_id = gpc_get_cookie( $t_cookie_name, null );
if( null === $t_project_id ) {
- $t_pref = user_pref_get( auth_get_current_user_id(), ALL_PROJECTS, false );
+ $t_pref = user_pref_get( auth_get_current_user_id(), ALL_PROJECTS );
$t_project_id = $t_pref->default_project;
} else {
$t_project_id = explode( ';', $t_project_id );
Please sign in to comment.
Something went wrong with that request. Please try again.