diff options
author | M.Gergo | 2020-03-31 21:19:13 +0200 |
---|---|---|
committer | M.Gergo | 2020-03-31 21:19:13 +0200 |
commit | 66d3dcc4b6374c9aa8e171479c34387b7c732403 (patch) | |
tree | 6ba63d4b1e2c07ddafd31ec714ef1204e61c547a /egyéb/nextcloud/mayor-nextcloud.php | |
parent | d828bc98d28d9f272778f0f97a2f52cbde41862a (diff) | |
download | mayor-66d3dcc4b6374c9aa8e171479c34387b7c732403.tar.gz mayor-66d3dcc4b6374c9aa8e171479c34387b7c732403.zip |
Mayor-Nextcloud script: Tankörmappák pici hibajavítás
Diffstat (limited to 'egyéb/nextcloud/mayor-nextcloud.php')
-rw-r--r-- | egyéb/nextcloud/mayor-nextcloud.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egyéb/nextcloud/mayor-nextcloud.php b/egyéb/nextcloud/mayor-nextcloud.php index aa410473..67f6b4d4 100644 --- a/egyéb/nextcloud/mayor-nextcloud.php +++ b/egyéb/nextcloud/mayor-nextcloud.php @@ -914,7 +914,7 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im if(array_key_exists($val3, $nxt_group)) { // de, csak akkor, ha az a csoport a Nextcloud-ban is létezik. group_user_add($val3, $curr); if ($log['verbose'] > 2 ){ echo "* -\t\tHozzáadva a:".po("\t $val3",$m2n['csoportnev_hossz'],1)."\tcsoporthoz.\n"; } - if($key3 != $m2n['mindenki_tanar'] && $key3 != $m2n['mindenki_diak'] && $key3 != $m2n['mindenki_tanar']){ //Ezekre a csoportokra minek? + if($val3 != $m2n['mindenki_tanar'] && $val3 != $m2n['mindenki_diak'] && $val3 != $m2n['mindenki_tanar']){ //Ezekre a csoportokra minek mappa? $ret = groupdir_create_groupdir($curr, $curr_tanarId, $m2n['groupdir_prefix']."/".$val3); if ($ret === true && $log['verbose'] > 2 ){if($log['curr'] !== ""){echo "**".$log['curr'];$log['curr'] = "";} echo "* -\tÚj mappa Létrehozva:".po("\t/".$val3."/",$m2n['csoportnev_hossz'],1)."\t./".$curr."/files/".$m2n['groupdir_prefix']."/ mappa\n";} } |