This commit is contained in:
nobody 2021-05-27 04:17:19 -07:00
parent 5108f24083
commit 2c1f748347
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class MastAPI {
$ret = [];
$ret['uri'] = z_root();
$ret['title'] = System::get_site_name();
$ret['description'] = bbcode(get_config('system','siteinfo'), [ 'export' => true ] );
$ret['description'] = bbcode(get_config('system','siteinfo',''), [ 'export' => true ] );
$ret['email'] = get_config('system','admin_email');
$ret['version'] = System::get_project_version();
$ret['registrations'] = (($register) ? true : false);

View file

@ -17,7 +17,7 @@ use Zotlabs\Daemon\Run;
* @brief This file defines some global constants and includes the central App class.
*/
define ( 'STD_VERSION', '21.05.21' );
define ( 'STD_VERSION', '21.05.27' );
define ( 'ZOT_REVISION', '10.0' );
define ( 'DB_UPDATE_VERSION', 1248 );

View file

@ -1453,7 +1453,7 @@ function encode_item_flags($item) {
$ret[] = 'consensus';
if(intval($item['item_obscured']))
$ret[] = 'obscured';
if(intval($item['item_private']) === 1)
if(intval($item['item_private']))
$ret[] = 'private';
if(intval($item['item_private']) === 2)
$ret[] = 'direct';