<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
}
$changed_lists = 0;
foreach ($all_lists as $list) {
- if ($list->sub) {
- $this->replace_email($list->list, $old_email, $new_email);
+ if ($list['sub']) {
+ $this->replace_email($list['list'], $old_email, $new_email);
$changed_lists++;
}
}