Ignore:
Timestamp:
Sep 4, 2010, 9:16:02 PM (14 years ago)
Author:
nikrou
Message:

Fix incorrect use of permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/include/t4u_config.class.php

    r6813 r6846  
    9999  }
    100100 
    101   public function getActionUrl($action, $method='POST') {
    102     $url = get_root_url().'admin.php?page=plugin';
    103     $file = basename($this->plugin_dir) . '/' .'admin.php';
    104     if (strtoupper($method)=='POST') {
    105         $url .= '&section='.urlencode($file);     
    106         $url .= '&action='.urlencode($action);     
    107     } else {
    108         $url .= '&section='.$file;           
    109         $url .= '&action='.$action;           
    110     }
     101  public function getActionUrl($base_url, $action) {
     102    $url = $base_url;
     103    $url .= '&action='.$action;           
    111104
    112105    return $url;
Note: See TracChangeset for help on using the changeset viewer.