Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
c1d9fffb
Commit
c1d9fffb
authored
Mar 02, 2005
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#18231
by cprice: -> = 0
parent
cc78d6c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/aggregator.module
modules/aggregator.module
+1
-1
modules/aggregator/aggregator.module
modules/aggregator/aggregator.module
+1
-1
No files found.
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