Skip to content

Commit

Permalink
Add php7b2 support and fix a bug may cause crash
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlst committed Jul 27, 2015
1 parent d14998f commit 30fbf48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/admin/html.open/utility/build_php/buildconf.inc.php
Expand Up @@ -11,7 +11,7 @@

$PHP_VER = array(
'7'=>
array('7.0.0beta1'),
array('7.0.0beta2'),
'5'=>
array(
'5.6.11',
Expand Down
3 changes: 3 additions & 0 deletions src/lsiapi/lsiapihooks.h
Expand Up @@ -280,6 +280,9 @@ class SessionHooks
void restartSessionHooks(int *levels, int nLevels,
const SessionHooks<base, size> *parent)
{
if (!parent)
return ;

for (int i = 0; i < nLevels; ++i)
{
int l = levels[i] - base;
Expand Down

0 comments on commit 30fbf48

Please sign in to comment.