Show
Ignore:
Timestamp:
08/31/07 02:41:37 (3 years ago)
Author:
latiass
Message:

Added post editing. This is still lacking in a list of edits, but that will come soon. Worked fine for me, but please report any problems you have. Also majorly refactored post utilities. May or may not work right, please try to avoid deleting until I can confirm.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Utils/Forum.pm

    r260 r326  
    7373            # flag matched, unset it 
    7474                if ($object->flags =~ /,$flag/) { $flag =~ s/$flag/,$flag/g } 
    75                 else { $flag =~ s/$flag/$flag,/g } 
     75                elsif ($object->flags =~ /$flag,/) { $flag =~ s/$flag/$flag,/g } 
    7676                $object->flags(\"REPLACE(flags, '$flag', '')"); 
    7777        } else {