All pastes #588786 Raw Edit

Someone

public text v1 · immutable
#588786 ·published 2007-06-25 18:06 UTC
rendered paste body
            foreach ($add_float as $id => $quantity) {
              for ($n=0; $n < $quantity; $n++) {
                $new_from_float = $reverse_floating[$id];
                $tmp=$new_from_float->get_obj();
                $new_from_float->datas['ID'] = max($auths->get_max_elt_id(),max_elt($floating))+1;
                $sub_elt = $new_from_float->datas['ID'];
                
                if (($tmp['type'] == 'nufw') or ($tmp['type'] == 'link')){
                  $working_elt->add_elt($new_from_float);
#                  $used_desc=$_SESSION['used_desc'];
#                  check_objects_from_desc(&$ressources,$descs->elts[$used_desc]);
    #              print_r($working_elt);
                  $_SESSION['document']=serialize($expolicy);
#                 $auths=&$expolicy->auths;
                  print_r($working_elt);
                  $_SESSION['modified']=1;
#                  $_SESSION['need_acl_recalc']=1;
                }else{
                  add_log($auth_bad_type);
                }
              }
            }