From 71308fe8c157471ec43ac6af190114ef03cc78c9 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 26 Aug 2015 13:50:51 -0700 Subject: syntax error in last checkin --- mod/import.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod') diff --git a/mod/import.php b/mod/import.php index b3d0859e4..24780b6c4 100644 --- a/mod/import.php +++ b/mod/import.php @@ -237,19 +237,19 @@ function import_post(&$a) { } if(array_key_exists('hubloc_primary',$hubloc)) { - if(intval($hubloc['hubloc_primary']) { + if(intval($hubloc['hubloc_primary'])) { $hubloc['hubloc_flags'] |= HUBLOC_FLAGS_PRIMARY; unset($hubloc['hubloc_primary']); } - if(intval($hubloc['hubloc_orphancheck']) { + if(intval($hubloc['hubloc_orphancheck'])) { $hubloc['hubloc_flags'] |= HUBLOC_FLAGS_ORPHANCHECK; unset($hubloc['hubloc_orphancheck']); } - if(intval($hubloc['hubloc_deleted']) { + if(intval($hubloc['hubloc_deleted'])) { $hubloc['hubloc_flags'] |= HUBLOC_FLAGS_DELETED; unset($hubloc['hubloc_deleted']); } - if(intval($hubloc['hubloc_error']) { + if(intval($hubloc['hubloc_error'])) { $hubloc['hubloc_status'] |= HUBLOC_ERROR; unset($hubloc['hubloc_error']); } -- cgit v1.2.3