Show
Ignore:
Timestamp:
09/07/06 08:23:08 (7 years ago)
Author:
benoitg
Message:
  • Fix non persistent content being available to add to nodes,

networks and content groups.

  • Prevent a user from entering the same language twice in a

langstring. Fixes #226

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Content/ContentGroup/ContentGroup.php

    r1090 r1094  
    410410                $html .= "</li>\n"; 
    411411                $html .= "<li class='admin_element_item_container'>\n"; 
    412                 $html .= self :: getSelectExistingContentUI("content_group_{$this->id}_existing_element", "AND content_id != '$this->id'", $this->allowed_content_types); 
     412                $html .= self :: getSelectExistingContentUI("content_group_{$this->id}_existing_element", "AND content_id != '$this->id' AND is_persistent=TRUE", $this->allowed_content_types); 
    413413                $html .= "</li>\n"; 
    414414                $html .= "</ul>\n";