Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c1d9fffb
Commit
c1d9fffb
authored
Mar 02, 2005
by
Dries
Browse files
- Patch
#18231
by cprice: -> = 0
parent
cc78d6c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/aggregator.module
View file @
c1d9fffb
...
...
@@ -193,7 +193,7 @@ function aggregator_cron() {
*
* Generates blocks for the latest news items in each category and feed.
*/
function
aggregator_block
(
$op
,
$delta
,
$edit
=
array
())
{
function
aggregator_block
(
$op
,
$delta
=
0
,
$edit
=
array
())
{
if
(
user_access
(
'access news feeds'
))
{
if
(
$op
==
'list'
)
{
$result
=
db_query
(
'SELECT cid, title FROM {aggregator_category} ORDER BY title'
);
...
...
modules/aggregator/aggregator.module
View file @
c1d9fffb
...
...
@@ -193,7 +193,7 @@ function aggregator_cron() {
*
* Generates blocks for the latest news items in each category and feed.
*/
function
aggregator_block
(
$op
,
$delta
,
$edit
=
array
())
{
function
aggregator_block
(
$op
,
$delta
=
0
,
$edit
=
array
())
{
if
(
user_access
(
'access news feeds'
))
{
if
(
$op
==
'list'
)
{
$result
=
db_query
(
'SELECT cid, title FROM {aggregator_category} ORDER BY title'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment