File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ function onAfterInsert() {
143143 $ password = $ app ->db ->quote ($ this ->dataRecord ["password " ]);
144144 $ modules = $ conf ['interface_modules_enabled ' ];
145145 if ($ this ->dataRecord ["limit_client " ] > 0 ) $ modules .= ',client ' ;
146- $ startmodule = ' mail ' ;
146+ $ startmodule = ( stristr ( $ modules , ' dashboard ' ))? ' dashboard ' : ' client ' ;
147147 $ usertheme = $ app ->db ->quote ($ this ->dataRecord ["usertheme " ]);
148148 $ type = 'user ' ;
149149 $ active = 1 ;
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ function onAfterInsert() {
144144 $ username = $ app ->db ->quote ($ this ->dataRecord ["username " ]);
145145 $ password = $ app ->db ->quote ($ this ->dataRecord ["password " ]);
146146 $ modules = $ conf ['interface_modules_enabled ' ] . ',client ' ;
147- $ startmodule = ' client ' ;
147+ $ startmodule = ( stristr ( $ modules , ' dashboard ' ))? ' dashboard ' : ' client ' ;
148148 $ usertheme = $ app ->db ->quote ($ this ->dataRecord ["usertheme " ]);
149149 $ type = 'user ' ;
150150 $ active = 1 ;
You can’t perform that action at this time.
0 commit comments