Conjunto de cambios d7a822e en sipes para cord/modules/update/update.fetch.inc
- Fecha y hora:
- 23/05/2016 15:48:25 (hace 8 años)
- Branches:
- stable, version-3.0
- Children:
- 6f9ddf1
- Parents:
- b354002
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
cord/modules/update/update.fetch.inc
rb354002 rd7a822e 222 222 $this->current_object = &$this->current_term; 223 223 break; 224 case 'FILE': 225 unset($this->current_object); 226 $this->current_file = array(); 227 $this->current_object = &$this->current_file; 228 break; 224 229 } 225 230 } … … 253 258 $this->current_object = &$this->current_release; 254 259 break; 260 case 'FILE': 261 unset($this->current_object); 262 $this->current_release['files'][] = $this->current_file; 263 break; 264 case 'FILES': 265 $this->current_object = &$this->current_release; 266 break; 255 267 default: 256 268 $this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]); … … 260 272 261 273 function data($parser, $data) { 262 if ($this->current_tag && !in_array($this->current_tag, array('PROJECT', 'RELEASE', 'RELEASES', 'TERM', 'TERMS' ))) {274 if ($this->current_tag && !in_array($this->current_tag, array('PROJECT', 'RELEASE', 'RELEASES', 'TERM', 'TERMS', 'FILE', 'FILES'))) { 263 275 $tag = strtolower($this->current_tag); 264 276 if (isset($this->current_object[$tag])) {
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.