Skip to content

Commit

Permalink
care about SVN commit hook complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
bgermann committed Feb 27, 2016
1 parent 579d307 commit 6179004
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ function cforms2_settings_corrupted() {

function cforms2_start_session() {
session_cache_limiter('nocache');
if ( empty(session_id()) ){
$session_id = session_id();
if ( empty($session_id) ){
session_start();
### debug
cforms2_dbg( "After session (".session_id().")start: ".print_r($_SESSION,1) );
Expand Down

0 comments on commit 6179004

Please sign in to comment.