Changeset 9347
- Timestamp:
- 03/20/10 12:40:05 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
contributed_modules/modules/bulkextensions/page.bulkextensions.php
r9346 r9347 16 16 // 17 17 // Copyright 2006 Seth Sargent, Steven Ward 18 // Portions Copyright 2009 Mikael Carlsson, mickecamino@gmail.com18 // Portions Copyright 2009, 2010 Mikael Carlsson, mickecamino@gmail.com 19 19 // 20 20 // This is a long running process, so extend time limit for execution. … … 386 386 387 387 if ($aFields["devinfo_disallow"][0]) { 388 $vars["devinfo_disallow"] = trim($aInfo[$aFields["devinfo_disallow"][1]]); 388 if (!isset($aInfo[$aFields["devinfo_disallow"][1]]) || ($aInfo[$aFields["devinfo_disallow"][1]] == "")){ 389 unset($vars["devinfo_disallow"]); 390 } 391 else { 392 $vars["devinfo_disallow"] = trim($aInfo[$aFields["devinfo_disallow"][1]]); 393 } 389 394 } 390 395 391 396 if ($aFields["devinfo_allow"][0]) { 392 $vars["devinfo_allow"] = trim($aInfo[$aFields["devinfo_allow"][1]]); 397 if (!isset($aInfo[$aFields["devinfo_allow"][1]]) || ($aInfo[$aFields["devinfo_allow"][1]] == "")){ 398 unset($vars["devinfo_allow"]); 399 } 400 else { 401 $vars["devinfo_allow"] = trim($aInfo[$aFields["devinfo_allow"][1]]); 402 } 393 403 } 394 404
