diff --git a/inc/sites.inc b/inc/sites.inc index 79e7d03d..e38d7357 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -757,7 +757,7 @@ SITEINFO(){ exit 0 elif [ "${siteid^}" == "R" ]; then - SITEINFO ${1} ${2} + [ "${SEARCH}" != "0" ] && SITEINFO -edit -search ${SEARCH} || SITEINFO -edit exit 0 elif [ "${SITELIST[${siteid}]}" != "" ]; then