summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7cd73e)
raw | patch | inline | side by side (parent: b7cd73e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Dec 2007 09:52:23 +0000 (09:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Dec 2007 09:52:23 +0000 (09:52 +0000) |
There must be at least one entry, that we want to edit
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8093 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8093 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_multi_plug.inc | patch | blob | history | |
plugins/personal/generic/class_user.inc | patch | blob | history |
index e9851afc1a8bd00044e9bcea7befd841efff5f62..98cbf6688f365166b15b10dbeda50328c2cf811e 100644 (file)
*/
public function __construct($config,$class,$tab,$dns,$acl_base,$acl_category)
{
+ if(!count($dns)){
+ return;
+ }
+
$this->dn = $dns;
$this->config = $config;
$this->s_class = $class;
@return boolean Returns TRUE if the given tab objects supports multiple edit else FALSE.
*/
public function multiple_available()
- {
- return($this->o_tab->multiple_support_available());
+ {
+ if(isset($this->o_tab) && is_object($this->o_tab)){
+ return($this->o_tab->multiple_support_available());
+ }else{
+ return(FALSE);
+ }
}
index b08f0c1a13e9ad53cdd68af7e16f3a4049c54ab5..80fd1d59f76ea0ad399f24af4d90ff0a184d094b 100644 (file)
return($ret);
}
-
- function init_multiple_support()
- {
- plugin::init_multiple_support();
- }
-
-
function get_multi_edit_values()
{
$ret = plugin::get_multi_edit_values();