bring back mail list and cleanup some issues which popped out with full PHP warnings
This commit is contained in:
@@ -70,11 +70,11 @@ function fileas_widget($baseurl,$selected = '') {
|
||||
|
||||
function categories_widget($baseurl,$selected = '') {
|
||||
|
||||
$a = get_app();
|
||||
|
||||
if(! feature_enabled($a->profile['profile_uid'],'categories'))
|
||||
return '';
|
||||
|
||||
$a = get_app();
|
||||
|
||||
$terms = array();
|
||||
$r = q("select distinct(term) from term where uid = %d and type = %d order by term asc",
|
||||
intval($a->profile['profile_uid']),
|
||||
|
@@ -70,7 +70,7 @@ class dba_mysqli extends dba_driver {
|
||||
function close() {
|
||||
if($this->db)
|
||||
$this->db->close();
|
||||
$this->connected = flase;
|
||||
$this->connected = false;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user