case 'TIME':
$bDatetime = $attrVal;
break;
+ case 'PRIVATE':
+ $bStatus = (strcasecmp('yes', $attrVal) == 0) ? 2 : $status ;
+ break;
case 'TAG':
$tags = strtolower($attrVal);
break;
$bDatetime = gmdate('Y-m-d H:i:s');
}
- if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $status, $tags, $bDatetime, true, true))
+ if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $bStatus, $tags, $bDatetime, true, true))
$tplVars['msg'] = T_('Bookmark imported.');
else
$tplVars['error'] = T_('There was an error saving your bookmark. Please try again or contact the administrator.');