function add_page_keywords($url, $photo = "", $keywords = false, $keyword_blacklist = "")
{
$data = query_page_info($url, $photo, $keywords, $keyword_blacklist);
- if (empty($data['keywords']) || !is_array($data['keywords'])) {
+ if (empty($data["keywords"]) || !is_array($data["keywords"])) {
return '';
}
function get_page_keywords($url, $photo = "", $keywords = false, $keyword_blacklist = "")
{
$data = query_page_info($url, $photo, $keywords, $keyword_blacklist);
- if (empty($data['keywords']) || !is_array($data['keywords'])) {
+ if (empty($data["keywords"]) || !is_array($data["keywords"])) {
return [];
}