Changeset 1359

Show
Ignore:
Timestamp:
12/04/07 19:27:10 (1 year ago)
Author:
rho
Message:

fixed undefined logged_on

  • use isloggedin() function instead loggen_on constant
  • logged_on is defined before it is used some times

Signed-off: Rolando Espinoza La fuente <rho@prosoftpeople.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/admin/lib/admin_actions.php

    r1288 r1359  
    44 
    55$action = optional_param('action'); 
    6 if (!empty($action) && logged_on) { 
     6if (!empty($action) && isloggedin()) { 
    77    switch ($action) { 
    88    case "content:flag":