* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
ORDER BY
`timestamp` ASC", __FILE__, __LINE__);
-if ((!ifSqlHasZeroNums($result_main)) || (isFormSent('lock'))) {
+if ((!ifSqlHasZeroNumRows($result_main)) || (isFormSent('lock'))) {
if (isFormSent('accept')) {
if (ifPostContainsSelections()) {
// Accept mail orders
$content = getPoolDataFromId($id);
// Found some data?
- if (count($content) > 0) {
+ if (isFilledArray($content)) {
// Is the surfbar installed?
// @TODO Rewrite these if-blocks to a filter
if ((isExtensionActive('surfbar')) && (getConfig('surfbar_migrate_order') == 'Y')) {