Changeset 1141 for trunk


Ignore:
Timestamp:
04/25/10 19:33:52 (2 years ago)
Author:
wefgef
Message:

Adds numbers for problems in arhiva educationala.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/db/task.php

    r1132 r1141  
    338338            "UPDATE ia_smf_messages 
    339339             SET subject = %s 
    340              WHERE subject LIKE %s", 
     340             WHERE subject LIKE %s 
     341               AND ID_MSG <> %s", 
    341342             db_quote("Răspuns: " . $new_subject), 
    342              db_quote("%" . $message['subject'])); 
     343             db_quote("%" . $message['subject']), 
     344             db_quote($message_id)); 
    343345        db_query($query); 
    344346    } 
  • trunk/www/controllers/round.php

    r1132 r1141  
    265265            if ($current_id != $order_id) { 
    266266                round_task_update_order_id($round_id, $task_id, $current_id); 
    267                 task_update_forum_topic($task_id); 
     267                if ($round_id == 'arhiva' or $round_id == 'arhiva-educationala') { 
     268                    task_update_forum_topic($task_id, $round_id); 
     269                } 
    268270            } 
    269271 
Note: See TracChangeset for help on using the changeset viewer.