Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for fetching all pages of undefined session.

  • Loading branch information...
commit 43ba19e0b0193ab19bec37e5bcaccbf2812a8c09 1 parent 0eb0915
@mworrell mworrell authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/support/z_session.erl
View
2  src/support/z_session.erl
@@ -197,6 +197,8 @@ get_attach_state(Context) ->
%% @doc Get app page pid()'s that are attached to the session
+get_pages(undefined) ->
+ [];
get_pages(Pid) when is_pid(Pid) ->
gen_server:call(Pid, get_pages);
get_pages(#context{} = Context) ->
Please sign in to comment.
Something went wrong with that request. Please try again.